How to deploy a Macro
I have used Custom Fields in my DOCX file and update them using OpenXML, but custom fields are not getting updated in document. So I have write following macro to update field, it run well on my...
View Articlesending field name values from VB 2010 to Word.
hello, I am a student who is a user of Visual Basics 2010. I want to send the field names values from the form of my project to a Word document. The field names are the ones which we can create in the...
View ArticleWord 2007 MailMergeBeforeMerge Cancel not working
I have an application that I need to Cancel the MailMerge under certain circumstances. I have fully tested my routine apart from when I set: Cancel=True it does not stop the MailMerge from...
View ArticleRecord only my changes on word document and undo those.
hiI'm writing add-in for word to change word display text property(change font/color/bgcolor add some hyper links for predefined texts). I'm doing these changes during just before display of word...
View ArticleWord 2010 - VBA macro to disable specific Groups
I've made both a Template and a Style Set. I need to try to get users accessing the custom Style Set and not screw up stuff (or get creative) using the groups: Font & Paragraph on the Home tab. I...
View ArticleShim compile problems
Hi all;A couple of us are getting the following compile errors since installing Office 2013. And the problem comes and goes. Also we tried"re-register MSADDNDR.DLL using regsvr32" and that solved it...
View ArticleCreating quick parts with VBA
I have tried to find an answer to my question without any success, so apologies if it has been asked before.I have an outlook message table containing a table, that I want to parse using vba to create...
View ArticleWord Ribbon XML image
I cannot use an idMso to display a built-in control and then use a custom image. I can use the image that comes with the idMso or another imageMso but not my own image.So, the first two examples work...
View ArticleHow to convert equations to C# in word?
Hi everyone, I have some complicated equations in word? If i want use them in my program then have to convert them , I know i can do that by hand ,but it's slow and really may cause some error, any...
View ArticleOpen/Edit/Save Word Document using VB Scripts
Hi,We have a very old VB script which uses the COM components to create/edit and save word document.We installed Microsoft Office 2010: Primary Interop Assemblies Redistributable on our VM and ran the...
View ArticleProblem with ListNum field
Here are the fields I entered, with the values showing (a) (b) (c) Here are the codes for those fields:{ LISTNUM \L7 \S1 }{ LISTNUM \L5 \S1 }{ LISTNUM \L7 }{ LISTNUM \L7 }{...
View ArticleHow to add a textbox to every footer type with C# and...
I'm writing a Word Add-in that is supposed to put a textbox in the footer of every page, even when footer options such as "Different First Page" and "Different Odd and Even Pages" are checked. I'm...
View ArticleHow to launch Custom Dictionaries dialog programatically using VB or C#?
I want to launch Custom Dictionaries dialog programatically. Dialogs(wDDialogToolsDictionary).Show doesn't work.Thanks,Guru
View ArticleCustom dictionary does not get activated when we launch Word programatically...
We have a Word based application which used COMAddin. We create custom dictionary based on the user login. We have an issue where in custom dictionary does not get activated when we launch Word...
View Articlesending field name values from VB 2010 to Word 2013.
hello, I am a student who is a user of Visual Basics 2010. I want to send the field names values from the form of my project to a Word document. The field names are the ones which we can create in the...
View ArticleAuto-recovery stops working in word 2007 and 2010?
I'm working on an issue with a Word VSTO add-in (too big to post code snippets here), and for some reason it's disabling the creation of auto-recovery files in Word. I've followed the code through,...
View ArticleSQL Server - Word interoperability interruptions
From our SQL Server based software we give data for Word using Microsoft Interoperability. Clients say this process interrupts in 2 cases out of 10 and are not able to define why or reproduce the...
View ArticleHow to customize the Review tab in Word 2010?
I have a really simple AddIn "SendALink" which just adds one button (and an unlabeled group) to the Review tab:Works fine with Excel and PowerPoint 2010 or 2013, using this XML:<!--...
View ArticleWord2010 - Opening a corrupt document
Hi: How can I open a word document that is corrupted file? I tried opening it normally and I get the message "cannot be opened" file is corrupt.
View ArticleCan I grey out or disable controls dynamically on the Word 2007 Ribbon?
I have added some custom buttons on the 'Mailings' Tab of the Word 2007 Ribbon that add the ability use Merge Fields in the Subject and add Attachments to a 'Merge to E-mail'. However it is only...
View Article