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

System.Runtime.InteropServices.COMException (0x800A16C1): Object has been...

I am getting the following exception while trying to save/open or retrieve a document programatically - System.Runtime.InteropServices.COMException (0x800A16C1): Object has been deleted.   at...

View Article


VBA script works when stepped through, but not when run in realtime

Can anyone give me some suggestions about how to troubleshoot code that works when you step through it, but does not work when run in realtime?My VBA script (Word 2010) uses Windows API code to select...

View Article


Macro to insert ENTER after end of every line

I need a Macro to insert  ENTER after end of every line (without effecting the orignal space of the paragraph( which is in atleast line spacing format). In short the line will be a single line with...

View Article

Word mail merge enters "0" (zero) instead of text into merged table field

I have a VBA procedure that runs a mail merge using data from an excel spreadsheet to create invoices. The mail merge basic document template ( .dotm) has a table with ten rows for items, but on the...

View Article

Save images on word first in first out basis C#

   Hi below code take snapshot and save in word and append on existing word.. when I execute this code its saving the image on first in last out basis means first image pushed down when I took new...

View Article


TCSCConverter Bug in Microsoft Word

Description of problem:TCSCConverter will convert the text "属于" into "屬" mistakenly. Version: I have tested this issue on Word 2016 and 2010, they both have the same result. How reproducible: Always...

View Article

How do you copy listtemplates from a template to the active document?

Hi,I have copied all styles but the listtemplates have not been copied correctly. Therefore, when I create lists in the new document the number in the list does not have the correct font and...

View Article

Image may be NSFW.
Clik here to view.

Backstage TaskFormGroup column width

Hi,I am trying to create a custom backstage tab using a TaskFormGroup control.  I'm having trouble getting the group category and task labels to appear.  I can use the TaskFormGroup label to make the...

View Article


How can I move cursor to end of table In word application

Hi,  I have a Word document with 2 pages and I've insert table that table start from page one and continues until the middle of the second page(Only one table exist in document). In Delphi(XE7) and...

View Article


Shim 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 Article

How To Unlock Document Sections Word

Hello,I create a new docx file. Following parts are protected:    oWordDoc.Sections[1].ProtectedForForms = false;            oWordDoc.Sections[2].ProtectedForForms = true;...

View Article

Copy paragraphs from one word file and paste it to another word file along...

Hi,How do we copy paragraphs from one word file and paste it to another word file along with formatting using c#?Regards,Vaibhav

View Article

Track changes issue

I am developing the macro for UStoUK and Vice versa. What i am doing in this macro is as follows. First i find the respective words(US/UK) and replace with the corresponding words(UK/US) with find and...

View Article


Running different versions of Word in Visual Studio solution

I have a Word add-in that I am developing in Visual Studio 2013. I have Word 2010 and 2013 versions on my computer. Is it possible to switch the version of Word that  VS2013 opens when you run the...

View Article

Image may be NSFW.
Clik here to view.

Backstage Configuration with Basic controls and Advanced Form Controls

I am trying to create a backstage tab that will display both basic executable controls and an advanced form control. An example is the MS Word backstage "Open" command which contains controls in the...

View Article


Change File - Print to use a macro to print an additional document

In Word 2003 we had a macro that we were able to associate with File - Print and the <Ctrl><P> ways of printing.  This macro would print the current document (an application) and then would...

View Article

Image may be NSFW.
Clik here to view.

Label (in the second/third) goes two lines, I want it in a/single line becaus...

I am wiht MS Word 2013, VS 2015When I was in VS, it is OK.It is a nonsense.How can I fix it ?Thanks..

View Article


VBA or C# to determine if the searched text is an entire paragraph

My Word doc has some scientific formulas in plain text (not like MS Word equation) some of which are embedded within a a paragraph along with some other text; some consist of an entire paragraph (no...

View Article

How do you change the page layout/orientation of a Word document using Visual...

I would like to change the page orientation of a Word document from portrait to landscape using Visual Basic.  I can't seem to figure out the correct syntax, this is what I tried:Dim wordApp As New...

View Article

How do you change the font color of text in a Word document table using...

I'm trying to figure out how to change the font color of text in a Word document table using Visual Basic, but I can't seem to figure out the correct syntax. This is what I currently have in my...

View Article
Browsing all 4350 articles
Browse latest View live


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