template prompt

G

Guest

I've created a memo template, with several fields such as "to, from, etc." I
also have a heading at the top of the document called "memorandum."

I am saving the template with the cursor or prompt below the fields so that
the user can start typing the text of the memo. The problem is that the
cursor or prompt continues to move to the top next to the title "memorandum."

Any ideas why or how I can get this to automatically go to the correct
location on this document? Any help would be greatly appreciated.
 
C

Charles Kenyon

First, use a macrobutton field for your prompt. See
http://www.addbalance.com/usersguide/fields.htm#MacroButton,
http://www.gmayor.com/Macrobutton.htm and
http://www.mvps.org/word/FAQs/TblsFldsFms/UsingMacroButton.htm for more
about macrobutton fields.

Since it is a field you can use the F11 key to move to it. I have a little
subroutine I use to move to the prompt field that I want called SelectIt. It
is called with the field number as a parameter.

Sub SelectIt(iField As Integer)
' Written by Charles Kenyon
' Routine goes to beginning of document and then goes to field
' iField sets number of field to go to
' Used in new document procedures
'
Dim iNumber As Integer
Selection.HomeKey Unit:=wdStory
For iNumber = 1 To iField
Selection.NextField.Select
Next iNumber
End Sub

You would call it using the command
SelectIt(2)
or the like in an AutoNew macro.

I use this because I often have CreateDate or other fields in a template
that I want to skip over.

I also have an instructions textbox (floating over text, without a border or
fill, with hidden blue text) that reminds users that they can skip to the
next field with the F11 key. Hidden text is set to display but not to print.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide




--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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