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 / August 2005

Tip: Looking for answers? Try searching our database.

Delete everything in a bookmark range

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lennert.acke@gmail.com - 30 Aug 2005 15:05 GMT
Hi

I program Word from .NET

There is a bookmark defined in a template that covers some text, a page
break and a table. They are all in the bookmark range.

Depending on a condition, everything covered by the bookmark should be
excluded or not. The following line of code does however not do the
trick:

this.oWordDoc.Bookmarks.Item(ref oBookmark).Range.Text = "";

Does anyone know how I can resolve this ?

Any help appreciated.
Howard Kaikow - 30 Aug 2005 22:50 GMT
u cannot have a space in a bookmark name.

Signature

http://www.standards.com/; See Howard Kaikow's web site.

> Hi
>
[quoted text clipped - 12 lines]
>
> Any help appreciated.
 
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.