slow performance of interop word object when it is used in threads
I have an issue with interop word object performance. We do many operations in our application like insert/remove bookmarks and I want to do these operations in thread as we have some other operations...
View ArticleProperty is NULL in Automation?
Hi, I am using Visual C++ 2008 together to automate Word 2010. Visual C++ just wraps the interface in Word 2010 and generate a lot of classes derived fromCOleDispatchDriver, like this: class COLEStyle...
View ArticleVBA word Error 40605 command not available
Hi,I have a word document with a table with 1 row and 3 columns,[#Des2][#Prz2][#Imp2]with tags in the cells, that I want to replace with data read from a text file. When I run the macro the system...
View ArticleIs there a better way to determine if a chart has a backing workbook?
This is a Word issue - it doesn't occur in Excel (as that uses a worksheet in the active workbook).I need to determine if a chart has a backing worksheet for the data (as opposed to literal data). The...
View ArticleOffice Web App Server 2013 Licenses
Hi Everyone,We have planned to propose Office Web App(OWA) server 2013 to one of our Client to edit the word document. Before proposing we need to clarifications on below points,The Client's product...
View ArticleError "There is a problem saving the file" when opening the VBA Editor
HiWhen I open the VBA Editor (Developer->Visual Basic) in Word 2019 (Microsoft Office Professional Plus 2019 Version 1812) I get an error message:"Word has encountered a problem""There is a problem...
View ArticleMove out from last row of the existing table
Hello,I am new in word automation and In my program code, I want to move out from the existing table (last row of the table)and go to the next line and create a new table.How can I perform that in my...
View ArticleGetting a lot of Error 5097 in VBA
Hello,I have an Word add-in based on Visual Basic for Applications that is running perfectly on my computer. On the computer of my client it is not. A lot of error 5097 occur. The client uses Bitlocker...
View ArticleHow to delete custom properties of Word document?
HI All,I am downloading a file content from the server and writing it as a word document in a folder.Before I could open the document, I want to delete the custom properties of the document.I can...
View ArticleHow to programmatically say “no” to updating styles when I use...
I'm combining a Word document by adding multiple subdocuments using Subdocument.AddFromFile. Those documents are based on templates with specific styles. When the document is added, the message box...
View ArticleA clipboard object for VBA, including Microsoft Word
I have been struggling with clipboard operations from Word VBA. I have spent dozens of hours Googling this, and although there are some partial examples that sort of work (sometimes), I was unable to...
View ArticleAre there any plans to drop Word AddIn Ribbon via XML design in future releases?
Is Microsoft planning to disable the Word AddIn Ribbon XML to use the Ribbon Designer instead in future releases?The thing is we need to be able to disable Word builtIn Ribbon Controls/Groups in our...
View ArticleCreate a chart with no backing worksheet
Hi all;Is there a way to create a chart with no backing worksheet? Or to create it and then delete the backing worksheet?And then be able to set the data for the chart as literal data?This can be done...
View ArticleWdGoToDirection.wdGoToFirst is not going to the true first page
I'm trying to loop through every page in a word document. However, on a specific Word document, the following code does not begin at the actual first page:int totalPages =...
View ArticleHow do I remove the { PLACEHOLDER { IF { USERNAME }=" " "[Your Name] " {...
I have weird situation , Word 2016 for mac , when we open attachment which are resume , on top candidates name gets replaced by USER NAME of office user or it gets replaced by Licence buyes's name...
View ArticleConditional Show/Hide of a section in MS Word Document based on selection
We are considering building a legal agreement template in WORD. There are three main elements:1. main terms and conditions - always there2. equipment list - always there3. extra license - optionalLet's...
View ArticleMacro to change the color of font
Hi all! I want to write a macro to change the font's color (except the black font) to red. Could you please help me? I do need your help.
View ArticleSearch for Toggle Field Code
I am working on Office.Interop.Word using c#.I have a doc id (Which can be any random number) at the footer and the Toggle Field Code are shown in picture. what code can I use to detect this doc id...
View ArticleHow to check the Microsoft word 2013 document contains excel embedded tables...
How to check the Microsoft word 2013 document contains excel embedded tables in C# R L Kiran
View ArticleHow can I convert \n for Custom Properties in Office 2016
This problem was not there in Word 2010 or Word 2013. However, I do see this problem with Word 2016. This problem occurs when I try to create a Custom Property that has a description that is more than...
View Article