View Single Post
  #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.