clear bookmark contents

J

Jim Edwards

Hi,
I have a user form that uses text boxes to insert text into bookmarks on my
document. I want to clear the bookmark's contents at the end of the
procedure. My attempt below didn't work. (I have many bookmarks, this is
just one)

Date1 = ""
ActiveDocument.Bookmarks("date1").Range.InsertBefore [Date1]

I add data to the bookmarks using a variable ie. date1 = textbox1.text

Any help on how to clear the bookmarks to be ready for the next data entry?
Thanks, jim
 

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