WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Delete All Bookmarks

 
   Home -> Office -> Formating Long Docs RSS
Next:  Formating Long Docs: Word 07 Home & Student  
Author Message
Frustrated Word User

External


Since: Apr 29, 2008
Posts: 1



(Msg. 1) Posted: Tue Apr 29, 2008 11:36 pm
Post subject: Delete All Bookmarks Add to elertz
Archived from groups: microsoft>public>word>formatting>longdocs (more info?)

I would like to delete all the bookmarks in a document.

YES I read the ONE post about this, and I don't know what a VBA is.
Sorry, Word is not my forte.

Thanks in advance.

Frustrated in Roseville




--
Frustrated Word User
Back to top
Login to vote
Herb Tyson [MVP]

External


Since: Oct 02, 2003
Posts: 3347



(Msg. 2) Posted: Tue Apr 29, 2008 11:36 pm
Post subject: Re: Delete All Bookmarks Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

VBA stands for Visual Basic for Applications. Basically, it's the
programming language that Word, Excel, etc. uses for writing macros.

The short answer is that Word does not have a built-in way to delete all
bookmarks in one fell swoop. So, you either do it from the Bookmark
dialog -- one at a time--or you write a macro to automate it... assuming you
don't want to lose any formatting or features.

Another choice would be to convert (Save As) the document into a format that
does not support bookmarks (such as Microsoft Works), and then convert it
back into Word format. Depending on how the document is set up, you would
lose some formatting.

Still another choice would be to copy the contents to the clipboard, paste
it into a blank Wordpad document, copy to the clipboard again, and then
paste into a new Word document.

There are a number of variations on this theme. You would have to experiment
to see which method preserves most of what you want preserved.

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"Frustrated Word User" <Frustrated.Word.User.25d7a85.TakeThisOut@officefrustration.com>
wrote in message news:Frustrated.Word.User.25d7a85@officefrustration.com...
>
> I would like to delete all the bookmarks in a document.
>
> YES I read the ONE post about this, and I don't know what a VBA is.
> Sorry, Word is not my forte.
>
> Thanks in advance.
>
> Frustrated in Roseville
>
>
>
>
> --
> Frustrated Word User
Back to top
Login to vote
Jerry George

External


Since: May 30, 2008
Posts: 1



(Msg. 3) Posted: Fri May 30, 2008 4:23 am
Post subject: RE: Delete All Bookmarks Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You can simply try running a macro,

Dim bkm As Bookmark
For Each bkm In ActiveDocument.Bookmarks
bkm.Delete
Next bkm

Note that this does not delete the hidden bookmarks.

If you have multiple files you can use file io to list the directory and
then open each file and iterate the above code snippet using simple word
interop. If you need more help, just give me a holla..


Jerry George
Tata Consultancy Service Ltd.
Software Engineer
jerrygb RemoveThis @live.com
-------------------------------
"Frustrated Word User" wrote:

>
> I would like to delete all the bookmarks in a document.
>
> YES I read the ONE post about this, and I don't know what a VBA is.
> Sorry, Word is not my forte.
>
> Thanks in advance.
>
> Frustrated in Roseville
>
>
>
>
> --
> Frustrated Word User
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Formating Long Docs All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET