How to connect to a dBase III table (dbf) that has an underscore in the file...
When I connect to a DBF named "Sample_Labels.dbf" I get an error "Word was unable to open the data source" however if I rename the same file from "Sample_Labels.dbf" to just "Labels.dbf" then Word...
View ArticleCopyStylesFromTemplate Method Problem in Word 2013
When I use the CopyStylesFromTemplate method in Word 2010 I get all of the styles intact. I have styles Heading 1 through Heading 9 and all is well. When I use the same code in 2013 the names of the...
View ArticleSuddenly I'm given a record of my document ? why?
I don't talk computer! I just want to know how to stop my program from spitting out a full account/template of what I just wrote and printed out? this just started happening. I write a letter to some...
View ArticleHow to read ActiveX Checkbox Value using C# Word automation?
I am using C# word automation to read through a form created using Microsoft Word. The form contains ActiveX checkbox controls. I am a bit clueless on how to check these fields and have searched high...
View ArticleHow to avoid header to be affected with Selection.PasteAndFormat...
Hi, I am finding a way such that when select "all contents" from a source template defined in word 2003 but paste it on a multiple content word 2010 template, in this result template, there is a header...
View ArticleHow to connect to an xBase DBF table that has a filename > 8 characters
When I connect to a DBF named "Sample_Labels.dbf" I get an error "Word was unable to open the data source" however if I rename the same file from "Sample_Labels.dbf" to just "Labels.dbf" then Word...
View ArticleClick and replace text similar to DoFieldClick
I'd like to add instructional text into documents where the user can click on the text and then type to replace it. The functionality I'm looking for is similar to a { MACROBUTTON DoFieldClick [text] }...
View ArticleTable cell lost formatting
I'm working on Word VSTO application using C# language.When I have changed table cell text, formatting of cell is lost like text indentation, color, etc.Please note that I need to change the cell text...
View ArticleWhy do we get different "Save before exit" dialogs?
We have five developers with Word 2013 Professional Plus, 32-bit. When we close an unsaved document, three of us get one dialog and the other two get another.Both dialogs ask "Want to save your changes...
View ArticlePowershell - search for related documents
Hey, I'm developing a powershell script to allow me to join two documents together. At the moment, they are referenced to each other via hyperlinks. But some of these files have broken links. Every...
View ArticleText watermarks word 2010 fully patched not centralised on a page
HiIm adding a text watermark to a document in c#. All is fine except the positioning of the watermark. I cannot seem to fathom how to get the watermark placed central on the page in the same way it...
View ArticleSaveAs Filtered HTML does not work correctly on Macintosh vba Word
I am trying to save a .docm file as FilteredHTML with VBA on Word but the generated file does not looks like an HTML file at all. This work perfectly on Windows with the SaveAs2 function, but I had to...
View ArticleWord document signing for multiple docments
Hi,I am trying to sign multiple documents using code given below. Even after opening all the documents before signing,i needed to pass pin for every the documents. But when i open all the documents...
View ArticleWord document signing for multiple docments
Hi,I am trying to sign multiple documents using code given below. Even after opening all the documents before signing,i needed to pass pin for every the documents. But when i open all the documents...
View ArticleHow to Identify whether the Word document has undergone any changes? (Without...
Need help! I would like to Identify whether the Word document has modified since the time it has been opened till before closing. While closing the word document, a Boolean value should be returned...
View Articlehow to fetch some part of content from document
hii want to get some part of contents from existed document, and append these parts to some other document.i have searched some threads which talking about split document to separate file, but i warry...
View ArticleCustom toolbars creation in word 2007
Hello,I want to customize ribbon in word 2007. In this I would like to add custom toolbar for the macros I wrote.Kindly support!Thanks,Abhishek
View ArticleHow to link & update fields in a Word doc?
I have several things (dates, numbers, etc) in a table that I need to update on a regular basis. Is there some way I can enter a field (maybe at the bottom of the document) and get all dates in a...
View ArticleMacro to apply style for paragraphs in word document
Hi,I need a macro to replace the paragraphs with the style tags based on conditionsAll the style tags which need to be replaced are existed with the attached document.Replace all the paragraphs in the...
View ArticleRound Gives Unexpected Results
I have some VBA code in Word using the Round() function, and it's giving strange results.Round(15/6,0) returns 2Round (3/2, 0) returns 2(I want to round #.5 to #+1, and #.499999 to #, i.e. the way...
View Article