Reply
 
Thread Tools Display Modes
  #1   Report Post  
Tommy
 
Posts: n/a
Default 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   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
converting from Lotus Word Pro to Word tmac Microsoft Word Help 3 November 26th 04 04:25 PM
Acrobat writer 5.0 Compatibility with word 2003 Norman Marshall Microsoft Word Help 1 November 25th 04 11:12 AM
Word should let me put Equation captions in-line th77 Microsoft Word Help 2 November 24th 04 12:29 AM
Word 2003 vs Word 2000 text files Suzanne S. Barnhill Microsoft Word Help 6 November 24th 04 12:26 AM
How do I convert a cd in word perfect to microsoft word greylady Microsoft Word Help 1 November 23rd 04 07:03 PM


All times are GMT +1. The time now is 06:08 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"