How to insure a SQL ODC file stays open?
I'm doing what I thought were some rather ordinary Word mail merges on an unfamiliar machine with Word 2010. The merge is supposed to create a dozen files using Mayer's MMToDocs plug in. For some...
View ArticleText formatting in Content Controls (Word 2007)
When using the Text Content Controls I can apply one set of formatting to the text initially displayed in the field (which prompts the user to enter information) and apply different formatting to the...
View ArticleSEP Date Control and SEP Time Control
I am attempting to use the SEP Date Control and the SEP Time Control in a Microsoft Word Form Template that I am creating. Obviously I want one field to be the date and the other field to be the time...
View ArticleIs there a method in Visual Basic for creating auto numbers in a Word document?
I have a Word document with a table and I want to add automatic numbering to one of the columns in the table? (1.1, 1.2, etc.,). Is there a Visual Basic method that can do this easily, using just a...
View ArticleRemove all spaces on blank lines from the document
I am wondering what is the best way to accomplish it. the below code doesn't obviously work. foreach (Word.Paragraph paragraph in app.ActiveDocument.Paragraphs) {...
View ArticleAPI for converting Chinese Traditional to Chinese Simplified
MS Word 2013 has the capability to convert Chinese Traditional characters to Chinese Simplified. Is there an API to access that functionality?
View ArticleProgramatically add footer to the last page in a word document using Word...
I am new DOT Net and c#. I am using visual studio express 2015 and word interop 14.0.I am creating a word document which will have a single table with 3 columns. The number of rows may vary anywhere...
View ArticlePassword protected OpenXml Word document resaved as a password protected...
Password protected OpenXml Word document(ie.document created in wdFormatDocument=12) that gets resaved as a password protected binary Word document(wdFormatDocument=0) gives error "The password is...
View ArticleNeed to know how to build a Macro in Word that will do this please..
A friend of mine is looking to build a Document search for Rescinded words. That's the easy part. (He can find and highlight words). What he would like it to do is Find the word and have it change the...
View ArticleContentMenuListTable, ContextMenuTableWholeLinked, list in table
In Office 2010, I am aware that the following context menus show up under the specified conditions:ContextMenuTable - When a number of rows or columns (including 1, but not all) are...
View ArticleCompany Wide changes to Word Settings
How would I change the settings, company wide, for all Word Documents? Provided I am a system administrator. Change to Web View Change to Single Spacing Add a modified Building Blocks file or alter the...
View ArticleWhy The Direction Attribute and MSO-Rotate Attribute not work ?
I want to change the text direction in textbox ,I look the develop document and I find the MSO-Rotate Attribute and Direction Attribute can do this , so I follow the document said and use the...
View ArticleHow to Hide a Word Document on Macintosh with VBA?
HiOn Windows, we can say `ThisDocument.ActiveWindow.Visible = False`But on Mac, the `Visible` property is not available. How can we hide the document on Mac?Office 2010.Thx!
View ArticleCopy Tab Stops to New paragraph
I have a macro that will apply body styles to a non-styled (Normal only) document. Once a style has been applied, I want to apply the tab stops as they were BEFORE the style was applied.For example,...
View ArticleHow to Read 2nd Field-Code Link-Parameter in VBA?
Example field code:{ LINK Excel.SheetBinaryMacroEnabled.12 "C:\\Users\\Johny\\Desktop\\MyData.xlsb" "Linked-Charts![MyData.xlsb]Linked-Charts Chart 5" \a \p }In the above example field code, this...
View ArticleWhy Does Word Modify Link Field-Codes, and Can That Be Prevented?
HiIf i paste link a chart from Excel into Word, the resulting code looks something like this:{ LINK Excel.SheetBinaryMacroEnabled.12 "C:\\MyData.xlsb" "Linked-Charts![MyData.xlsb]Linked-Charts Chart 5"...
View ArticleMake a macro button to e-mail that works when the document is protected
Hi I have a code and a macro button that sends the document to outlook. But I can't get it to work when I protect the document. I wan't the users to fill the forms and push the macro buttons in the...
View ArticleBreakthrough limit of EVAL()
I find that Ms Word's Eval() just support calling internal functions, but not custom functions. How can I breakthrough this limitation? N.B. CallByName & Application.Run are not considered, since...
View ArticleReading images from Word files using C# Word API without using Clipboard
I've been working on an application to read images from multiple word files and store them in one single word file usingMicrosoft.Office.Interop.Word in C#I also need to save a copy of the images on...
View ArticleCommand Button OnClick Action Stops Working When I protect Document
Hello,I'm building a form in Word 2007 on Windows 7 and I've added an ActiveX command button. When The user click this it prompts to save if not already then launches outlook with a PDF attachment that...
View Article