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

Is there an fixed version of Microsoft.Office.Interop.Word.dll on MSDN?

There's a bug in version 10 of Microsoft.Office.Interop.Word.dll that has the Cancel and SaveAsUI parameters marked as [in] instead of [in][out].  I can disassemble, fix the parameters, and...

View Article


Word 2010 - An unhandled win32 exception occurred in WINWORD.EXE

Hello!I created an add-in for MS Word 2007/2010. The add-in adds a text on the page footer.I create a file which the add-in has not been executed on this file yet. Then, install the add-in and open...

View Article


Hyperlink in a Word Document

Hi,I have created one document and created some hyperlink to go to a certain topic. For eg in case I am on page 1 and need to jump on some content in page 10. I have created hyperlink in Page 1 which...

View Article

How do I insert the current user's name/id into a Word 2013 document using a...

How do I insert the current user's name/id into a Word 2013 document using a macro or VBA?

View Article

Formatted Table

I'm using Word 2007 to edit a doc that was previously edited by others.  The doc has a table which simply had been black borders and text with a white background.  However, I now find that if I insert...

View Article


Table rows in building block inserted into table unstable in row size

I have a problem when I try to insert rows via building blocks into an already existing table in Word 2013.  The inserted row/rows do not keep their original length and also the table its inserted into...

View Article

Envelopes, Labels in a Document

In my Word Addin (2007, 2010, 2013) I have to restrict a user from doing some actions, if the document contains an Envelope, or Labels.What is a reliable way of detecting labels (envelope) in the...

View Article

Graph in Word - how to set vertical axis title?

Hi,This is how I add a chart into Word - it's working - I just want to find out how to set the Y-axis title to for example "Dollar Amount": object missing = Type.Missing; Word.Application application =...

View Article


Add new text to word doc without overwriting old text

I'm having trouble with my program that's creating a word file based on user input to text boxes, when i tried it with IO.Streamwriter and AppendText i didn't have this problem, but that didn't allow...

View Article


Find specific text and replace with Image file in MS Word

Hello All,I have MS word file and shown like below format#A##B##C##D##E#I have implemented below code to replace text in MS word file using C#.public void ReplaceWordDoc() { object missing =...

View Article

Adding hyperlinks to word document's paragraph using (foreach loop,...

I have a Paragraph variable located in ms-word document which have the following Text :DI : Note de délégation du pouvoir, Note de crédit, Tarifs, notes «Modalité de paiement », Grille des parités...

View Article

Help With Find/Replace

Hi Guys, I’ve been giving the task to clean up some invoices and I need some help. The task in general consist in replacing the company header which has the company name and the wire banking...

View Article

help to disable auto numbering from style panel

Hi , Can any one suggest me how do i disable auto numbering form Style panel using VB.net, i know one way of doing it Application.Selection.NoProofing = True .but this is not my requirement, i need to...

View Article


powershell word api compress pictures

Hello everyone,I have a PS 3.0 script that i use to process a folder of word documents and convert then to .docx format. I want to also compress images in the documents (picture tools -> format...

View Article

Application hangs when executing Documents.Open(ref filename) method and...

I've created a user control (windows form application) to get an instance of Word (either active or new), and provide a button to open documents into that instance using a file dialog picker. The form...

View Article


Automating bard code creation in Word 2003

Hi!I'm trying to setup a bit of automation in Word so that when someone enters a reference number in a document, it is automatically converted in to a barcode at the bottom of the document, so far I've...

View Article

Copy content to a specific position in another document

Hello,I need your help. I need Copying contents of Word doc and paste into another c# but when paste this content in another word file i need paste that content in specific position. Below explain...

View Article


activedocument.table + C#

Hi , I am working on merging doc Word 2007 using Visual Studio 2010 and C#. I get some information from another source, create a new Word document, and paste this information in the newly created...

View Article

Graphic border macro

I have just started to work with large docs in word and need some macro help. As Word 2010 (or before) cannot record a macro that selects and formats a graphic, I need a macro code that will add a 1.25...

View Article

Create Word Colour Theme VBA

Just wondering if there is a means to programically create a theme colour in VBA.  I want to imbed the code into the word template, previously I had seperately created the theme file and wrapped that...

View Article
Browsing all 4350 articles
Browse latest View live


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