Editing bookmarks using late binding in C#

T

Tommy

Hello!

I'm using C# and run into a problem. 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.
 
P

Peter

This is the VBA ng. Someone in microsoft.public.dotnet.languages.csharp might be able to help you.

hth,

-Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top