templates and fill-ins

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In Word 2003, I want to create a user template, my problem is I need the user
to input a file number that must appear on the first page, and then all
subsequent pages, but after the first page it must appear only in a footer in
a smaller font. Is this possible in a workgroup template?
 
Yes. You can have a different first-page footer set. Take a look at: How to
set up letterhead or some other document where you want one header on the
first page and a different header on other pages.
http://www.addbalance.com/word/headersfooters.htm This gives step-by-step
instructions. (It also has the following links)

You could use an ASK field to gather the information. I have a short
tutorial on ASK and Fill-In fields at
http://addbalance.com/word/download.htm.

For more on the different kinds of templates, tabs on the file new dialog,
and locations of templates folders see
http://addbalance.com/usersguide/templates.htm.
--

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

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
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.
 
Thank you for your help. I have one further question if you can help me? I
have created the template, used an Ask field and a Ref field for the footer
and all my formatting is working. I used an AutoNew macro upon opening to
trigger the Ask field for my users. The only problem I have is that it
leaves the text highlighted after they answer the Ask field. I am very new
with the VBEditor and if you can see something I did wrong, I would
appreciate the help. Many thanks. I have include the macro here for review.

Sub autonew()
'
' autonew Macro
'
Selection.WholeStory
Selection.Fields.Update
End Sub
 
You could try Selection.collapse

However, your code will not reach fields in the header/footer. First, if you
need something in a header/footer updated at some time other than when you
print, consider using a StyleRef field (assuming that you are going to be
putting your source text somewhere in your document other than in a bookmark
created by an ASK field). Otherwise, you can update fields in the
header/footer by doing a print preview. If you need to update using code the
following updates ref fields throughout a document:
Sub RefFieldUpdateAllStory()
' Written by Charles Kyle Kenyon 15 November 2001
' repaired by Jezebel
' All Story Field Updater - Ref fields
Dim oField As Field
Dim oStory As Range
' On Error Resume Next
For Each oStory In ActiveDocument.StoryRanges
' This goes into headers and footers as well as the regular document
Do
For Each oField In oStory.Fields
If oField.Type = wdFieldRef Then
oField.Update
End If
Next oField
Set oStory = oStory.Next
Loop Until oStory Is Nothing
Next oStory
End Sub

--
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

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
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.
 
Back
Top