Word Document Changes Don't Take
I've created a php function that receives the name of an XML file that I edit separately. This function combines the changing XML file with a XSLT transform and a word document template to produce a...
View ArticleCheck for Glossary Entry
HiI have a macro for Word 2010 below. I want it to check if a "word" exists in the Glossary Table of my report. If it exists I then want that table row to be deleted.The macro runs without error, but...
View ArticleHow to convert docx to html/css?
I have a docx file with so many images and text in it, i want to make it as a static page in my app so that user could switch between serveral same type of pages, how to do that ?I used htmlconverter...
View ArticleOverride Save and Send option in Word 2010 and above
Hi,I have written the .net addins for MS word 2010 to control the save\save as and print feature and wrote the function by delegating ApplicationEvents4_DocumentBeforeSaveEventHandler and...
View ArticleIntercept Track Changes Button Press (VSTO C#)
Hello,For the Word Addin we are developing in VSTO C# we need to intercept / repurpose a number of standard Word buttons, the ReviewTrackChanges command in particular. See the following excerpt of out...
View ArticleInsert multiple paragraphs inside an existing document
Hi, I need to insert multiple paragraphs with different styles, and that sound not so easy. The paragraphs should be created at a specific place, located by a bookmark.The code below create paragraphs...
View ArticleWord slow down opening files caused by index.dat in recent folder
HelloWe identify an issue with Word 2010 in our integration.We have a tool which open files in Word, read some information from that and save the data in the database. We use MFC with the OleDispatch...
View ArticleAll in one...
I have five macros in one module (access through different color buttons on the tool bar), each macro takes a table (already in the document), clears all styles/formatting, asks how many rows for the...
View ArticleKnow in C# when a "Compared" word document is closed
HiI need to know in C# (office interop) when a *compared* word document is closed by the user. I've had success for normal documents using DocumentEvents2_Event.Close to detect when a Word document has...
View Articleemail to: using a button in a word (MacroButton FileSendMail) function
want to email a word form doc to a certain address once the user completes filling out the form. I tried this macro button { MacroButton FileSendMail Click here to submit the form }. This opens the...
View ArticleBeing prompted "Are you sure you want to remove all unpinned items from the...
Does anyone know why I would be getting this prompt the first time I access the File menu in a given Word 2013 session? Please note that I am customizing the Backstage View...I have a VSTO add-in that...
View ArticleOffice 365 : how to identify bitness (x86 or x64) via code.?
I am unable to read this key HKLM\SOFTWARE\Microsoft\Office\15.0\Outlook\Bitness at times, The WScript.Shell.RegRead(regKey) method returns with “Invalid root in registry key ".So, is the there any...
View ArticleAdd content control with link to document property
helloI searched carefully in the web but cannot end up with an answer.I need to add a ContentControl with VBA but the problem is how to link it to a built-in document property ("Title" in my case).In...
View ArticleTrack Track Changes
Hi all,I was wondering if anyone knows if it is possible to track "track changes." What I mean is after you turn on track changes and make an insertion, you can still edit that insertion and it won't...
View ArticleAutomatically Accept all Changes
Hi all,I was wondering if anyone knows how to make a macro in Microsoft word, that when tracked changes is turned on, all the changes are automatically accepted. I would really appreciate any help in...
View ArticlePassing a table to function, and returning (in Word)
Hi,I am trying to extract changes from a document (both comment bubbles and tracked changes) and put them in a new Word document. I'm using a table for this. My users have requested that I also...
View ArticleError protect document being co-authored
Hi, I have a problem with my word addin in word 2010.The addin handles a special type of documents and support the automatic refresh of document parts. Usually, the document is protected. Only during...
View ArticleChanging font positioning to "Normal" for a DocProperty in the header
I have a document in which I have prepared a header which in turn consists of some Custom Properties. I am updating those Custom Properties using a macro. But there seems to be a problem with the font...
View ArticleDetermine control location and status in document
I have a Word (2013) document that is being generated from a template that has 16 tables. Tables 7 through 16 have identical layouts and all are irregular. Row 4 of tables 7 through 16 has 5 columns...
View ArticleFormatting Word Doc to HTML
Hello,I am attempting to devise a way to take a word document and format it into lean HTML before copying to a Clipboard; hoping to also streamline this into a macro or script to simplify it for end...
View Article