Compile Error in Word
Compile error in hidden module: <module name>, Office Shared [vblr6.chm1040201] This is the error msg I get every time I try to start Word. Is there any way at all to get rid of this annoying bug?
View ArticleC# - Word Interop, Select Text That Has Just Been Pasted
Hi all,This might be a really easy one for someone out there, but it is driving me round the bend !!!I am using C# to populate a Word document by copying and pasting ranges.If I paste a range using...
View Articleproblem repurposing EditUndo Word 2007
Hi,I would like to repurposing the EditUndo command in Word but I noticed that the following routine will never be fired in Word 2007. (nor with CTRL-Z nor pushing the button) Sub EditUndo() MsgBox...
View Articledrop down list disappears
When I left click on a drop down option in any application with my mouse, the selections immediately disappear when I release the left mouse button.Any suggestions?
View Article“There was a problem sending the command to the program.”
Two environments:2. New text Citrix upgrade Xenapp 6.5 on Windows 2008 R2 X64 servers Windows 7 64bitOffice 2007 32biteDocs 5.3.1. patch 3One user account – standard user test account. same rights on...
View ArticleWord 2010 User Form - Repeating data
Hi:I am a novice developer in Office. My focus at this time is Word 2010. I have developed a Word 2010 Template, placed text bookmarks, designed the "user input form" in VB and coded the fields I...
View ArticleFailed to create control. Licence information for this component was not...
I am trying to use Microsoft tabstrip control 6.0(SP6) in a VBA application. It works fine in Word 2013, but when I try to drop the object into another VBA container, I get the error: " Failed to...
View ArticleRun-time Error 5 "Invalid Procedure Call or Argument" when querying an Access...
Hi everyone,In Word 2013, I query an .accdb database with two extremely simple SQL strings: Function GetDivisieID(Divisie As String) As String Dim strSQL As String, varResult As Variant strSQL =...
View ArticleConditional formatting in content control and finding Picture Content control...
Hello,I am almost near to complete my word document automation, but still facing 2 problems and I hope you can help me out of this:1. Conditional Formatting: I wish to highlight text inside a content...
View Articlemso:StyleGalleryClassic
Hi, Is it possible to change the size of the mso:StyleGalleryClassic control in Word2010 using customized ribbon xml?We have customised styles with long names and the dropdown box is too small to...
View ArticleAccessing the new Insert control for tables in Word 2013
MS Word 2013 adds a nifty new "insert control" to add rows or columns to a table (see blogs.office.com/b/microsoft-word/archive/2012/08/30/working-with-tables-in-the-new-word.aspx). I have a Word 2010...
View ArticleSetting styles order
Hi,I've developed a Word 2010 template with a mix of user-defined and built-in styles. The styles are set to sort order "Recommended" and each style has the correct priority. The template also contain...
View ArticleShowing warning when MatchWildCard=True in France Locale in Microsoft word 2007
When we find ^13{2,} and Replace with ^p^p using UseWildCard=True in France locale ,the Microsoft Word 2007 is showing the following error "The Find What text contains pattern match expression which...
View ArticleWord 2013: determine Lock Tracking status in VBA?
Word 2013 introduces the ability to keep Tracked Changes on unless a password is supplied:Is there a way to determine whether this is set, or even to turn it on or off, in VBA?I tried recording a macro...
View ArticleVBA Word 2007 close other window
hey there,I'm a beginner in using VBA. Now I'm trying to make a program, but there is a problem, and I can't find a solution on Google. If I open the document with the name 'Technische Handleiding...
View ArticleHow to insert a TOC info a Word doc via a macro
I want to write a macro to insert a TOC into a Word doc. The Word doc contains some text "INSERT TOC HERE". I want the macro to insert the TOC at that spot in the document (replacing the "INSERT TOC...
View ArticleSpeed up mailmerge
Hi AllI’ve developed some VBA routines loading data from SQL Server and execute a mail merge. The template containing the VBA codes gets called from another executable (C++). That code has been written...
View ArticleVBS Image Replacement - Appearing as Gray Box with Filename
Hi :)I'm hoping someone can assist me with an issue I'm having with MS Word and image replacements with VBS. The script itself works fine on one machine, yet copied to another machine with another...
View ArticleWriting to a table slows with time
Hello,- I have been writing to a table that has 5 columns and all colums+rows contains text only (some formatting is done though)- Each time I receive date from an external application. I create a new...
View ArticleMicrosoft.Office.Interop.Word.RecentFile.Path throws COMException if recent...
Hello.I'm developing VSTO Add-In, and below is the code I'm using to delete entry from MRU liststring currentFullPath = Path.Combine(document.Path, document.Name); var recentItems =...
View Article