View Single Post
  #4   Report Post  
jeanmac
 
Posts: n/a
Default

I wrote earlier saying I had used an ASK field and still hadn't had any luck.
I have now! I had put the ASK field in the header. When I moved it to the
top of the document and amended the code to look at Section 2 (the code I had
copied only looked at Section 1) it all worked. I would however, prefer to
have the ASK field in the header. The code I am using is:

Sub Autonew()
' Provoke the ASK field prompt
ActiveDocument.Fields.Update
' Update the cross-reference in the header
ActiveDocument.Sections(1).Headers(wdHeaderFooterP rimary). _
Range.Fields.Update
ActiveDocument.Sections(2).Footers(wdHeaderFooterP rimary). _
Range.Fields.Update
' Place the cursor at the end of memo so far
Selection.Collapse Direction:=wdCollapseEnd
Selection.GoTo What:=wdGoToBookmark, Name:="begin"

End Sub

Do you know of any way I can amend it to allow the ASK field to be in the
header? Thanks for your help.
Jeanmac

"Daiya Mitchell" wrote:

Is the date related to the doc in any way? E.g., you could use a CreateDate
field in two places.

Is this date merged? Use the same merge field twice.

Did you try Method 3 here?
http://gregmaxey.mvps.org/Repeating_Data.htm

If none of those work, a better description of the problem is probably
necessary.


On 9/8/05 6:07 AM, "jeanmac" wrote:

Hi
I've looked at all the posts on linking fields so that the information in
one displays in all, and that's great - I didn't know you could do that.
However, I need to take a date in the header of a template and display it in
the footer of the second and subsequent pages - it can't be an updating date
it has to remember the exact date. Any ideas?

Many thanks


--
Daiya Mitchell, MVP Mac/Word
Word FAQ: http://www.word.mvps.org/
MacWord Tips: http://www.word.mvps.org/MacWordNew/
What's an MVP? A volunteer! Read the FAQ: http://mvp.support.microsoft.com/