Word Templates, how go to certain line upon opening

G

George

Am using MS Office Word 2003, SP3. Have a few templates like envelopes
(e.g. EnvelopeHome.dot), letters, fax covers, etc.

When I click ..
File > New > (Templates) On My Computer > (select>) EnvelopeHome.dot...

How can it be modified so that, instead of the cursor starting at the upper
top left, it would instead automatically go down to a specific place...the
center of the envelope, so I can start typing the "to" address without
having to click down arrows first?

Seems like you'd have to insert something to mark that spot, then somehow
activate something to "upon open, go to (that place)".

Thanks,
George
 
J

Jay Freedman

George said:
Am using MS Office Word 2003, SP3. Have a few templates like
envelopes (e.g. EnvelopeHome.dot), letters, fax covers, etc.

When I click ..
File > New > (Templates) On My Computer > (select>)
EnvelopeHome.dot...
How can it be modified so that, instead of the cursor starting at the
upper top left, it would instead automatically go down to a specific
place...the center of the envelope, so I can start typing the "to"
address without having to click down arrows first?

Seems like you'd have to insert something to mark that spot, then
somehow activate something to "upon open, go to (that place)".

Thanks,
George

You're exactly right about how to do it.

In the template, insert a bookmark at the right spot. Let's assume you name
the bookmark StartHere.

In the same template, add the following macro (see
http://www.gmayor.com/installing_macro.htm if needed):

Sub AutoNew()
ActiveDocument.Bookmarks("StartHere").Range.Select
End Sub

Because Word automatically runs any macro named AutoNew when it creates a
new document based on that template, the selection (cursor) will be placed
at the bookmark.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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