System.Runtime.InteropServices.COMException
Hi Guys, not sure if this is the correct forum. If not, can someone please point me in the right direction. I'm trying to open MS word using Microsoft.Office.Interop.Word in my project. I don't write...
View ArticleWord Text box copy data and edit
Hi guys,I am sure this is not too hard to do but I cannot find the right information to get started. I have not worked in VBS, VBA in some time. Also would like this to work in Word 2013. What i want...
View ArticleIncorporate the MsWord dictionary in my text editor
Hi, I have an application made in Delphi, which has a text editor similar to MsWord and I wonder if there is any way to incorporate the MsWord dictionary in my text editor, not only the words added by...
View ArticleReplacing text with a text box in MS Word
Hi, I'm very new to Powershell scripting. I want to find text and replace it with a text box object in MS Word. I understand that there is already a PS script to replace a text in Word...
View ArticleAdding a picture to all pages at specific position using c#
Hi,I need to add a picture at specific position(not in the header or footer) to all pages in a word (and powerpoint) document.Is there a way to do it without causing the pages to scroll or the cursor...
View ArticlePlaceholder text on Picture Content Controls
Hi,I'd like to give my users some more feedback about what picture content controls which were added to the document represent.I understand (correctly?) that PlaceHolderText is inapplicable to picture...
View ArticleHow do I preserve original formatting when copying Ranges between documents?
I am currently overwriting a Selected_Range in a Document with the contents of an Object_Document using:Selected_Range.FormattedText = Object_Document.Range.FormattedTextIt works, but it is not...
View ArticleWord 2013 Automation no file tab
Hello, I work with Delphi TOleContainer class and Word Automation.Now I use Word 2013 Application. I don't understand why there is no file tab in file menu. See included picture.When I click Ctrl+P...
View ArticleWord Plugin: How to implement highlighting similar to Word's spelling and...
Hi there,I am developing a Word plugin using VSTO/C# and I want to implement a capability similar to spelling and grammar highlighting in the document.In my case, I need to highlight certain words and...
View ArticleIf I use Document.Close in VBA, is ther any way I can tell whether the Users...
I am using Late Binding in Access VBA to Open a Word Document. The User is then allowed to make changes. Can I tell if they then chose NOT to save those changes. If they do then I want to set a flag by...
View ArticleContentControlBeforeDelete event firing multiple times for undo
Hi AllI'm developing an application level word plugin for word 2010 and .NET Framework 4.0.3 and Visual Studio Tools where I have to handle the undo action.I create two content controls and combine...
View ArticlePrinting a Word 2010 doc with reviewer names visible
I realise that I may be in the wrong space for this question... if so please be kind enough to redirect me.I have a document with tracked changes. While I am working on it I can see all the names of...
View ArticleUnexpected RSID Root changes
I am analysing some Word documents which I have divided into families that share multiple RSIDs listed in their settings files. Those that share RSIDs, several hundred in one of the families, clearly...
View ArticleAny library or code in Word to get the ruby text for the selected base text...
Dear All,I know how to use the Phonetic guide by the GUI in word (2010). However, I found it can work on only a limited range, e.g. I select the whole a few paragraphs but it just worked part of the...
View ArticleGenerating XSL stylesheet(XSLT) from DOCX file?
Hi,I need to generate XSLT file from DOCX file(document.xml, fonttable.xml, numbering.xml, settings.xml, styles.xml, websettings.xml). Once the complete XSLT file is generated I can transform the...
View Articlecorrupt files
Hi guys,one of the users has a machine that now has lots of corrupt files, maybe they were a different format but it looks as if they try to convert them every time it opens and they dont eventually...
View ArticleGet cursor position
Using Selection.Information(wdFirstCharacterColumnNumber) works well to determine whether the cursor is currently at the beginning of the line. However, I need something that will work for Word 2007...
View ArticleVBA Word: Insert custom textbox building blocks via Userform into template at...
I am trying to create a template for a report that will prompt the user via Userfrom to select which boilerplate text items to add to the documentI have created about 40 building blocks (text boxes...
View ArticleCan the WORD Mail-Merge Wizard be changed programmatically like the Ribbon?
I know how to change the WORD Ribbon and have changed the 'Mailings' Tab to do what I want during a Merge to E-mail. But I don't want my logic to be by-passed by Users selecting the Mail-Merge Wizard....
View ArticleCalendar Control and FlexGrid Control
Hello,At our company, we use Calendar Control 12.0 (MSCAL.OCX) and FlexGrid 6.0 (msflxgrd.ocx) at Office 2007, x321) Are these compatible with x64 bit version of Windows 2008/2012?2) When is the end of...
View Article