Word XP-Creating Bookmarks

  • Thread starter Thread starter Cindy Conover
  • Start date Start date
C

Cindy Conover

Could someone help me with creating a bookmark that is the date plus 35 day?

Thanks

cindy
 
Sub DatePlus35()
Selection.InsertBefore Format((Date + 35), "d MMMM yyyy")
End Sub

See http://www.gmayor.com/installing_macro.htm

will (today) put 27 August 2004 at the cursor - you can change the mask 'd
MMMM yyyy' to suit local requirements.
What's the bookmark for?

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Yes - but to do what with it? Please explain in greater depth what you are
trying to do if the macro doesn't do what you want. A bookmark merely stores
information or a place in the document.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
I have a excel spreadsheet saved as a word doc (because in the program ACT
you can not have templates in excel). When I rent a tractor, the contract is
good for 28 days(rental return date). I have a bookmark for this and it
works great. I now have renewal contracts that are valid for 5 weeks. I
could not for the life of me figure out how the first bookmark was done.
This way I can have to 2 templates-one for 4 weeks and one for 5 weeks. It
will decrease the time it will take to create my rental contracts.
 
I think we have some confusion over terminology here. There are few ways of
inserting calculated dates in Word documents. The first uses macros along
the lines of the one I posted earlier - a more complex version that will
cater for any date past or future can be found on my web site at
http://www.gmayor.com/insert_a_date_other_than_today.htm. The other method
is much more complicated and uses fields. I am not even going to begin to
describe that method, but as all the work has been done by NG contributor
'macropod' then let him do so at
http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=wrd&Number=249902.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Graham,

I want to thank you for all the help. I will check out the links and put
them to use.

Once again

Thanks
 
Back
Top