Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Editing bookmarks in Word using late binding
Hello!
Does anybody know how to insert text into bookmarks in Word using late binding? If I use early binding everything works fine. What I want to implement is somthing like this: for (int i = 1; i = document.Bookmarks.Count; i++) { object objI = i; document.Bookmarks.get_Item(ref objI).Range.Text = "Some text"; } but using late binding instead. |
#2
|
|||
|
|||
Given that this is a VBA question, it would be better posted in one of the
word.vba newsgroups. This one is for end users. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Tommy" wrote in message ... Hello! Does anybody know how to insert text into bookmarks in Word using late binding? If I use early binding everything works fine. What I want to implement is somthing like this: for (int i = 1; i = document.Bookmarks.Count; i++) { object objI = i; document.Bookmarks.get_Item(ref objI).Range.Text = "Some text"; } but using late binding instead. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
converting from Lotus Word Pro to Word | Microsoft Word Help | |||
Acrobat writer 5.0 Compatibility with word 2003 | Microsoft Word Help | |||
Word should let me put Equation captions in-line | Microsoft Word Help | |||
Word 2003 vs Word 2000 text files | Microsoft Word Help | |||
How do I convert a cd in word perfect to microsoft word | Microsoft Word Help |