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

How to set active document editable when userform is opened?

I have created userform, If I open userform,am unable to edit in the active document with the userform opened. For example: If we press ctrl+f,the find functionality dialog box will be displayed,by...

View Article


How to save and restore different text styles (Quick Style) inside one...

I have some text that contains, say 10 words, and several words in this text have specific styles, e.g. one word is bold and another one is red.How can I save these styles so that after part of the...

View Article


VSTO - Word 2007 addin with Ribbon not displaying

I am using VS 2010 and have developed an addin for Word 2007.  I originally developed for Word 2010, and everything worked.  I then needed to develop specifically for Word 2007 through Word 2013 so I...

View Article

Late Binding Word Automation creates a document with an unresponsive Ribbon

I have a .NET ActiveX COM object that is calling Word and adding a template for processing. This template will get some data and then add in a layout template which will create the final document with...

View Article

Merge Multiple Word Files with File Names by VBA

Hello :I want macro would let me choose a folder to select.All files in the folder will be selected and merged into one Doc file, in the active doc.I also want, the FILE NAME to be on the contents of...

View Article


Image may be NSFW.
Clik here to view.

Programmatically created wordfile giving error while closing

HI,I am developing an application in which i have to write a letter in word after processing.After writting letter whose format was pre written.When i am going to close that file it is asking "Do you...

View Article

Image may be NSFW.
Clik here to view.

How to find the near Bookmark?

Hi All,I am doing a VSTO Project. Supposed that I have already insert a lot of Bookmarks in my word document via C# code. Like the picture below,The yellow line is represented the Bookmark. Now I want...

View Article

How to hide ribbon or control user action in microsoft word 2010 vb.net

When user clicks on my programmatically written add-in for Microsoft Word 2010 code does series of actions on the content of document. It takes quite a while for the task to be completed if the...

View Article


VBA code which creates a Word ribbon tab listing recent documents

Has anyone seen any VBA code which creates a Word ribbon tab listing recent documents? I find the recent document list at the bottom of Backstage under the File tab is too far away and the one in the...

View Article


Get Command Failed Error 0x800A1066 when using Selection.Paste() to paste a...

Hi, everybodyI have an add-in built by C# for MS Word 2010.When I try to paste an image form clipboard into a range using Microsoft.Office.Interop.Word.Selection.Paste() after setting the image to...

View Article

VB.net Microsoft Word 2010 32Bit Addin not Loading on Client Machine

I developed an Microsoft Word 2010 Addin  .Net 4 in Visual Studio 2010. Developed an installer and tested the Addin on different machines.The problem is when i install the Addin on any machine which...

View Article

Bolding Address in Labels w/ Word Automation?

I have a unique problem. Right now, I'm creating a single label on an label sheet usingActiveDoc = oWord.Application.MailingLabel.CreateNewDocumentByID(labelID:=AveryType)and then adding 3 paragrpahs...

View Article

How to Install Microsoft Word Add-in in Windows Svr 2008 R2 64bit with Word...

I developed Microsoft Word Add-In for 32 bit systems which is working fine. Now i want to install the same on Win Svr 2008 R2 Enterprise 64 bit with 32 bit Microsoft Word installed. What changes do i...

View Article


Colors not matching

To perform an operation, I need to confirm that the correct color has been used for certain words.To test, I have inserted a block of text and colored it 'blue'. (The 'hover over' name of the color...

View Article

Word 2013 VBA Runtime Error 4198

I havea macro thataddsrows in a table(over 500rows)aftera bit ofinsertionsreturnsthe errorruntime error4198.my codeis as follows:....For i = 1 To Wx        Selection.PasteAppendTable Next...

View Article


Is there a way to move an arrow connector in Microsoft Word without the line...

I am trying to create an Entity Relationship Diagram in Microsoft Word and in doing so I am trying to connect the foreign keys to what they reference. When I do so, I try to move the one end of my...

View Article

Unlock Form in VBA code - MS Word 2010

I used the wonderful code at the link below to spell check form fields and it works great.  I did need the code to be in the document that is being opened (not a template) so I used the Custom UI...

View Article


How to remove macros from word 2010 documents?

I have some .dot files that I'm using as templates for a while.They used to have Macros to do some stuff and I started to replace those macros with Add-ins.What happens is that the macro menus are...

View Article

Picture cropped while extracting from Word 2010 Document

Hi,I have a document and 2 pictures within it, I am extracting those pictures using Office interope and below code. However these kind of picture are cropped after I extract them. Only from both left...

View Article

VSTO - Word 2007 addin Watermark not working correctly.

I have developed an addin that works perfectly in Word 2010.  However, when using with 2007 it does not.The addin adds a watermark image to the first page of the document.  When the button is clicked...

View Article
Browsing all 4350 articles
Browse latest View live


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