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

Image may be NSFW.
Clik here to view.

Range Information Vertical Position Relative to Page - not always accurate

I am having a bit of an issue when returning the vertical position of a range relative to the page (using rng.Information(wdVerticalPositionRelativeToPage)). The horizontal version always seems to be...

View Article


inserting a picture into word and changing the position

Hi,I'm using vb.net to create a word documentI've inserted a picture using the following code: Dim s As Word.InlineShape s = oWord.Selection.InlineShapes.AddPicture(PictureLocation, False, True)I can...

View Article


How to use asterisk indicator in footnote

Hello All,I want to use asterisk indicator instead of Arabic numbers in footnotes, so I changed the footnote number format to the symbol format indicator *,  but the asterisk does not increment so that...

View Article

How to set Word's ColorScheme option programatically in vb.net

The ColorScheme option is in the General tab of the Word Options. Can't find out where that fits into the Word or Office APIRobert Homes

View Article

How to read the text from a table which is in a header - (In VB Script)

Hi,I have Word documents, where I need to read the text which is in table cell and is in Header.1. How to read and print this text using vbscript2. Also there is an image in another cell of the same...

View Article


Compare 2 documents including the header and footer (VB Script)

Hi,I tried comparing 2 documents. Only the contents are compared successfully. set oWord = createobject("Word.Application") Set oDoc1=oWord.Documents.Open(Doc1) Set oDoc2=oWord.Documents.Open(Doc2) Set...

View Article

Need help with programatically dealing with Word option settings in vb.net

I'm looking for help with two issues at this point:1. How to get a list of the initial settings for all of the Word options.2.  How to set Word's wdFieldShading option programatically in vb.net...

View Article

How to turn off Word's option "show mini toolbar on selection"...

I'm writing a program to set a lot of the Word options automatically. One option I want to be able to turn on and off is the first one on the "General" tab that is represesnted by a checkbox that says...

View Article


Where can I find a list of the INITIAL settings of the Microsoft Word Options?

Once you change some options, Word doesn't appear to provide a way to reset them to their initial state. I could do it programmatically if I could find out what the initial state of each option is.(I...

View Article


How to set Word's wdFieldShading option programatically in vb.net

I tried this and although it passes ok in design view, it fails in runtime:wd.WdFieldShading = WdFieldShading.wdFieldShadingAlways"Wd" is an instance of Microsoft WordRobert Homes

View Article

changing .LinkToPrevious to False not working on all files being inserted...

I am combining multiple Word files into one. I had a problem maintaining header info but Cindy provided me with this command that helped out...

View Article

Image may be NSFW.
Clik here to view.

How MS Word calulcates the tab stop position while updating TOC, when the...

Hi Everyone,I want to know, how MS Word calculates the tab stop position while updating TOC, when the heading paragraph is having more than one tab in between text.Please find the screen shot for your...

View Article

How to Calculate the font color based upon the back ground color

Hi Everyone, I need the generalized logic for calculating the font color based upon the back ground colors.In this scenario i have use the following formula , but that does not work for all 255*255*255...

View Article


Programmatic identification of dates that are in the past

In many business documents, it is necessary to identify past dates. Is there a way to identify dates in varying forms (yyyy-mm-dd, mm/dd, dd-MON-yy etc) and highlight or otherwise change the formatting...

View Article

Upgrading Word automation mailmerge app from VB 6 to VB.net

Background: We have a VB 6 app that uses Word 2003 templates and merges data into the letters. We have MS Office 2010 on the machines, but that didn't pose a problem. The App simply opens a document...

View Article


How to check a checkbox based on a condition mergefield

Hi guys and girls,I am quite new to using mergefields and developing on word for that matter, so bear with me.Currently I have a document already layed out, and on it has some {FORMCHECKBOX} fields and...

View Article

Cyrillic or Greek alphaets in customUI14.xml attributes

I attempted to use Cyrillic characters in RibbonX labels, but as soon as a label attribute is presented with texts like "лфываф" or "Κσφδγηςη" the customUI editor turns this into "??????". On the other...

View Article


Running in to an endless loop when saving a Word file combining tow files

Hi, I'm trying to combine tow Word (docx) files. after adding the file though the object ->create from file or by copying and pasting the content of the second file in to the first I get an endless...

View Article

Create a style based on selected paragraph style and base style

Hello,I would like to create a style that uses the style of the selected paragraph, but restore some paragraph settings using the BaseStyle which is the default paragraph style. The following code...

View Article

Image may be NSFW.
Clik here to view.

Can't bring Access WIndow to front when opened from WORD VBA

I'm having problem bringing an Access Window to the front when I open it from VBA in WORD.  It actually works fine when I run it in debug mode, step by step.  But when I just let it run on its own the...

View Article
Browsing all 4350 articles
Browse latest View live