Shape still on the Word Document surface when I deleted them in Word 2013
Hi All,In my application, I insert some custom controls in Word Document. It works fine. Now I deleted them via C# code. Indeed, the custom controls have been removed from Word Document surface. But...
View ArticleCheck if in Word document (Word 2013) advanced option "Use fonts that are...
Is it possible in a VBA macro to check whether an opened word document has the advanced option "Use fonts that are stored on the Printer" is set.I have a word macro that opens and processes thousands...
View ArticleWordml file with AltChunks doesn't open in Mac (Word)
Hi,We generate Word-2007/2010 compliant Wordxml file. The contents have altChunks. This opens fine in Windows -MS-Word. However, when the same file is opened in Mac - MS-Word, the file doesn't open.If...
View ArticleIs there a way to update the dip using VBA
Hi I need to update a schema from Sharepoint with namespace http://schenas.microsoft.com/office/2006/metada/contentType when i am opening a Word document. I am using VBA...
View ArticleFull context numbering for a list item saved to a string.
How do I capture the full context number of a list item in Word to a string for use in a totally separate, unlinked document? It seems like this should be a very easy task. the variable must exist...
View ArticleTable of Contents Question
When I run my macro to create a Table of Contents it works fine with one small problem. I have it setup to use 'Arial' but when the macro runs the Tab between my number and the description is in...
View ArticleIs Word ready for COM use
I am talking to Word as a COM server in a program that makes documents with Word as the document engine.The program can load Word on a user request or switch to Word if Word is already loaded. At...
View ArticleHow to react to Microsoft Word events?
My program runs Microsoft Word (setting "ws" = Word). I can issue commands to Word, but can I also react to Word events? I set ws to be "withevents" but that didn't seem to make wd's events available...
View ArticleProgrammatic access to the Word Accessibility Checker
Hi,I'm attempting to find a way to launch the Word Accessibility Checker from VBA or .NET code, manipulate which rules it is using and ideally have a collection of all the issues discovered.I know the...
View ArticleHandling Word Events in c# .net client
Hello,our WPF application starts a Word instance and we want to be informed, when Word quits.So we wrote an event handler to receive a close event.The Problem is, sometimes it works and sometimes it...
View ArticleInserting Picture (from Web- through Webdav) to Word document using VSTO code
Hi,I have been trying to insert an image/picture to current selection in word. with help of code -Microsoft.Office.Interop.Word.InlineShape s = this.Application.Selection.InlineShapes.AddPicture(...
View ArticleVBA - MailMergeAfterMerge not run on Word 2010(32-bit) - On Windows 7
Hello, I have a trouble to run VBA in my project.This is in my template. I start mail merge, I choose an existing list file (HERE ONLY ONE and not more !) and I terminate works I see the MsgBox. Here...
View ArticleRanges with Fields
Hello, Could someone explain how the Range.End is determined when a Range contains one or more fields? The text of the range is either the fieldcode or the displayed text depending on the...
View ArticleInserting Picture (from Web- through Webdav) to Word document using VSTO code
would you please comment on this question -...
View ArticleCreate Field Category and populate it with my own custom-made fields
Hiwhen clicking on the Insert field... button in the ribbon bar, the Insert Field dialog is shown.I would like to create my own field category which should be listed in the Categories drowdown. Once...
View ArticleCan I convert my VBA project to some sort of batch submitted executable
Thanks to the help from you all, I have written VBA macros that open huge word documents and pluck out specific information and put it into Excel. The files I've received have grown in size from 1500...
View ArticleMicrosoft Word Error.
Hello!I have a problem. When I attempt to open a Word document, I get an error message :"Word failed reading from this file. Please restore the network connection or replace floppy disk and retry".Does...
View Articlehow to check if the active word document is password protection ?
Hi all ,I', trying to check if the active word document is password protection, by using the following code : Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim wdApp...
View ArticleWhy is my spell checker not working in a document using Word 2003
I have a word document in Word 2003 . I was altering it and noticed that from page 3 to 6 the spell checker does not work.I transferred the pages into another another file still didn't work . Just...
View ArticleReading a table in a header
When I try to read a table properties that is held in the header, the table method does not detect the tablesample codeDocument document = application.Documents.Open(HeaderDocument);...
View Article