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

Programmatic word limit on Legacy form field

Hello,I'm working on Word documents with Legacy FormFields (LFF) in it.While automating word document and filling the LFF with some text. Word crashes with "Microsoft stopped working message" when...

View Article


Alignment issues - Word 2010

This is probably the wrong forum to be asking, but we've just been switched to Word 2010 and it's driving me batty!  I have several lines in one document that need different alignment.  Most will...

View Article


Word automation issue

Hi, I am using Visual C++ 6 to automate Word.  During the WindowDeactivate event I search the active word docs using some FindWindow code (below).  When it finds it, if it is the document that was...

View Article

How to add a delegate/event handler to Word Object at the time of Late Binding

Hi,Can any one let me know "How to add Event Handler/Delegate to Word Object for DocumentBeforeSave/DocumentBeforeClose while making use of LateBinding"?Regards,G.V.N.Sandeep

View Article

VBA Find & Replace Multiple Word Case Changes Followed by LineBreaks?

I need a way to replace all instances of several names from lowercase to uppercase, for example:MikeyWhere's my gear?JoKeRUmm, you'll have to guess. oracleIt will be found when it is meant to be...

View Article


Image may be NSFW.
Clik here to view.

How to migrate the custom template changes to other MS Office 2010

Hello all,In order to customize my MS Word 2010 ribbon i have used Custom UI Editor which gives an file named as"Customui14.xml"Now i have saved the template file and attach the icons used in...

View Article

AddressLayout not Working in ContentControl

Hi @all,I am using the Addressbook button to select a contact from Outlook to insert ist adress in a contentcontol field in a word document. In Word 2007/2010 no Problem. In Word 2013 it does not work...

View Article

Open Cross-Reference PoPup

I would like to create a macro that opens the insert > cross-reference popup and changes the 'reference type' and 'insert reference to' and then the macros ends so the user can select the...

View Article


Erasing cells within a word doc table..

Good Morning All,Today I would like to be pointed in the right direction.  I currently have a .docx file that has a table in it.. the table has three columns and the first column has all the valuable...

View Article


Event handling for dynamically created controls on Word Document

We are making a macro-enable word document with various ActiveX controls, FormField controls (such as combo box, buttons, and textfield ) etc.  Many of these controls are added dynamically that is when...

View Article

CustomUI Is Being Saved Within the Document

i have a problem whereby some users are experiencing the customui of the template is being saved into the document and causing 2 ribbons to show when they next open that document.the exact same...

View Article

Capturing the visual area of a UserForm VBA Office 2010.

Hello,From various UserForm(s), Visual Basic 6.5, we need to capture the used area of the form and then display the area into a .doc.  We say used area as ScrollBars is set to 2 - fmScrollBarsVertical,...

View Article

"Copy Last Page" Macro/VB

Hi there,My office uses "concurrence tables" to route documents between multiple people.  The procedure is to copy the last page of the document and paste itas a new last page with an extra table...

View Article


OLEDB and Opendatasource of mailmerge Word 2010

Is there still a problem with OLEDB and Word 2010 automation using opendatasource of a mailmerge object?  Don't have the exact documentation, but seems I read that splitting a SQL statement between the...

View Article

How to serializing ActiveX control image in JPEG format

Hi guys,I have developed an ActiveX control which is used to open and JPEG image.The problem here is when i serialize my activeX control with word the word document size is coming out to be too...

View Article


Read data from an Excel file which is located in SharePoint

How can I write a Word document macro, which will read data in an Excel file but this Excel file is located on a SharePoint location (and the URL path is such as...

View Article

How do I hide or make inactive 'New' under the File tab in Microsoft Word 2010

We do not want our users accessing this command so I have added an new entry to display the legacy File New dialog box.I am comfortable adding commands to the File tab in Microsoft Word 2010 (using...

View Article


VSTO C# Tables

I have two word documents. Word document "A" contains a table with 5 columns and several rows. The cells within may or may not contain in line images. Word document "B" contains the same table...

View Article

PickerDialog in Word, how can I use it in a c# addin?

Hi all,I'm developing a Word 2010 addin in c# using VS 2010 and the 3.5 .Net framework.I'm having problem in using the PickerDialog.At http://msdn.microsoft.com/en-us/library/ff860858.aspx the code...

View Article

Automating Word Documents

 I would like to do the following can you point me in a good direction:1. Build a template form (Test Document)2. Add custom XML tags to key portions in the document (Values etc) in tables3. Save 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>