469,926 Members | 2,496 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,926 developers. It's quick & easy.

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.

Tommy
Nov 16 '05 #1
0 1336

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Mystery Man | last post: by
8 posts views Thread by sudha | last post: by
5 posts views Thread by John Smith | last post: by
reply views Thread by Frnak McKenney | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.