Windows Form application with Microsoft Word embedded (Office 2010) - All...
We are in the process of upgrading to Office 2010 from Office 2003. Our company uses a Windows Form Application which has Microsoft Word embedded. The application was written by our previous Software...
View Articleclear highlights in word document except Yellow color Highlight
Hi,I wanted to have macro function, to clear highlight from entire word document, exclude those words which has already highlight of Yellow color (those are my place holders).can you please help me.Thanks
View ArticleHow do I delete a range (pages) in a document using VBA.
I am trying to code a macro that will select all the text/pages from page 2 to the end of the document, and delete it, leaving the cursor in the home position on pg 2. I have this code which will...
View Article[SOLVED] Recording new macro in Word 2010
None of the Word 2010 installations at our site are allowing actions to be performed during macro recording in Word. We select Record Macro and get the "casette" cursor. No actions (like enter text,...
View ArticleInvalid COMObject Exception occuring when word document is closed.
Hi,I have a ribbon application for MSWord plugin. In one of my modules,i have included a multithreading scenario, where,one thread with apartment state set as STA has been called from inside another...
View ArticleHow to validate formatting of word document using word macro
I wanted to validate formatting of word document, if format is not proper as specified in macro it Highlights that particular portion with some color.formatting rules:Font Type is : Times New...
View ArticleValue does not fall within the expected range. Microsoft.Office.Interop.Word
Hi, I have already asked this question on MSDN here, but didn't find any solution! starting new thread! I am having following exception in my project having Microsoft Interops, Com Ad in for Office,...
View ArticleHow to capture when a value inside a Content Control changes without actually...
Here's my situation: Using Word 2010 and Sharepoint 2010. In the Word document, I have a Document Information Panel (DIP) that displays fields/values from a Sharepoint document library. For the most...
View ArticleTable Row Height
I have a Word Document of tables that I've created programmatically (using Interop). The default is I'm not specifying a row height. However, when I copy and paste these tables into Microsoft Publisher...
View ArticleSelection.MoveDown wdLine, 4, wdExtend doesn't work for one customer with...
Hello,I have a problem with one of our many clients. We have an "old" software written in VB6.0 that uses Word automation. Since the software runs on various Windows-Plattforms with different Windows-...
View Articletemplate linked to daughter documents
I created a blank Word 2007 template with several special list styles. After opening several new docxs from the template and styling some text using one of the list styles, I saw that I had not...
View Articlein Windows 8.1, Exception is being thrown when the Word Automation(using...
Hello,Below code which throws an exception, When run the Word2007 automation in System service context. This issue happened in Windows 8.1 system.Guid clsid = new...
View ArticleFind Function Word 2013 Automation
Hi,I am having an issue with using the .Find function using Automation from Visual C++ 6. I am getting a similar error to the one outlined in the blog thread below. Is there any update on this issue :...
View ArticleWord 2013 Mailmerge with .dbf
Does Word 2013 support mailmerge with with the data source being dbf?Is there a link of what options are supported?
View ArticleWord 2010 File Names from SharePoint 3.0
Up to last week, I had been using an XP computer with Windows 2007 and SharePoint 2007. I have several VBA macros that perform various search tasks on documents in a SharePoint folder or documents...
View ArticleMicrosoft word crash
Dear Sir/MadamI have been developing a code to dump a data from Excel file to word. For the word file I am using a template of the old 2003 version ie: .dot file.Some time the code runs fine sometime...
View Articledisable date function when reopening document
Hi,I use a word document with the "date" function in a date field, giving the current date.When using the document again, I need to have the date stay fixed, which would mean the "createdate"...
View ArticleHow do I identify the section of a range of text, and then copy the footer of...
I am working on a large report (795 pages) with 652 sections. The report is split into chapters with each chapter having a separator page with a picture covering the footer. The original authors did...
View ArticleHighlight selected word in MS Word document
In my application I select word in document, then I click on button and I want to highlight this word. It works but when I have word followed by comma or dot, for example ' hello, ', in docRange.Text...
View ArticleDelete all instances of a line which contains certain text
Is there a way to delete all instances of a line containing specific word?ex: Lines that starts with "temp"Thank you
View Article