Quantcast
Channel: Word for Developers forum
Browsing all 4350 articles
Browse latest View live

can i in word user from use a cbo to select one of several macros?

in Word 2013, in a UserForm, I need to select in a cbo or a listbox one vendor name. Then change page layout settings.Fun part is the maintaining and debugging of this.  There will be 23 different...

View Article


Sample VBS code for Watermark on Word

Hello!Can anybody help me with a visual basic script code for generating a new word document, write some text and print a watermark "NON CONTROLLED COPY". I've looked all around and I haven't found...

View Article


Extracting Chinese UTF-8 Characters to a text file returns "???"

I have an MS Word macro which searches for italicized words. For each italicized word found, the code captures the word, the current page number and the current Section number into variables.  The...

View Article

How to Suppress "Too Many Spell Errors" in Word Automation

Hi,I am using Visual C++ to Automate Word and make it invisible. However, when adding some texts to a Word document, I will see a “Too many spelling errors” message box. I try to set DisplayAlerts to...

View Article

Word Macro to make doc active using variable

I am trying to write a macro that will (with one document already open) open an existing document, copy the contents of the document, then switch back to the original document and paste the...

View Article


Alternative to AddTextEffect to insert watermark

I have a VBA template that uses the Shapes.AddTextEffect method to insert a watermark into the document header.  I need the macro to insert the watermark on Word on the Mac, as well as on Windows....

View Article

microsoft office interop word dll will support unity

Hi ,microsoft office interop word dll  will support unity . i need convert word to PDf in my unity application .  can i use microsoft office interop word dll .

View Article

Word stopped loading my AddIn

I run my AddIn by starting the debugger for the AddIn and telling the debugger to launch WINWORD.EXE. The AddIn is a .NET DLL (no shim involved as I'm debugging). This has all been working fine for...

View Article


Image may be NSFW.
Clik here to view.

disable VSTO document extension

hi,i need to write ribbon addin in Ms Word.But my addin will be use on documents with custom vsto.I attached link example document.In my addin I want to check if this custom addin exist in word...

View Article


I have not been able to figure out why code does NOT run UNTIL i close...

I do not know what is important or not for this issue so I entered code all that seem to be related. The "mcrVenTorHardCopy" is mostly the same for all picks of cboVendor. Only differences are a few...

View Article

How to intercept the event or action which happens when linked chart copied...

I need to do some action, we a linked chart is updated on Excel and the same chart gets updated on Word.How to identify this change/update. Or how to intercept the event or trigger.Thanks in Advance.

View Article

Image quality issue port word to html conversion

Hi,We use .Net program using microsoft interop of version 14.0.4762.1000 version.When we converted a docx file to html we found that there were duplicate image files for same image with low and high...

View Article

Highlight applied style in word document created using c# code.

Hi,I have created word document with " Microsoft.Office.Interop.Word" , i want to select style (Heading 1, title etc) on office style when we select paragraph.While selecting paragraph on generated...

View Article


C# class library instances are not destrying after the execution in the VSTO...

Hi,I have created a class library in c# so that I can use in Microsoft Word VSTO project. But I have a problem. This is an exmaple for my class library. Just call it as TestClassLibrarypublic class...

View Article

Word/ Outlook add-ins not loading

 We have add-ins developed for Outlook and Word for office 16 and 365. The add-ins work fine in Office 16 but shows 'add-in loading error' in Office 365. Can you please tell me why this problem might...

View Article


how to use C# tick the checkbox in word2007

how to use C# tick the checkbox in word2007

View Article

dynamically populating a word document

We have a number of word documents that are our contracts used with vendors and clients.  A word document could have a section repeated 3 times in it with a location change or slight verbiage changed...

View Article


1st Attempt at userform - dismal failure :o(

Hi,I'm making my first attempt at creating a userform but not having any luck getting it to either run, populate the document or do anything else that's of any help.  I've trawled the web/forums for...

View Article

Trackable identifier of Paragraph between InterOp and OOXML?

Hi, all.I have a development requirement to connect both of following 2 items from same original document:1) w:p element via OOXML(Document.WordOpenXML property)2) Paragraph object via InterOp(.NET...

View Article

Word 2013 Mailmerge - Edit select statement for mailmerge from excel

Hello, I am currently trying to create a mailmerge from an excel spreadsheet. The spreadsheet is given with all firstnames of a person while I only need the first firstname. I've tried to edit the...

View Article
Browsing all 4350 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>