Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2004

Tip: Looking for answers? Try searching our database.

Editing bookmarks using late binding in C#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tommy - 30 Nov 2004 10:29 GMT
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.
Peter - 30 Nov 2004 17:51 GMT
This is the VBA ng.  Someone in microsoft.public.dotnet.languages.csharp might be able to help you.

hth,

-Peter

> Hello!
>
[quoted text clipped - 10 lines]
>
> but using late binding instead.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.