Google Answers Logo
View Question
 
Q: Reference tag macro in Microsoft Word 2003 ( No Answer,   0 Comments )
Question  
Subject: Reference tag macro in Microsoft Word 2003
Category: Computers > Software
Asked by: nabrock-ga
List Price: $9.50
Posted: 08 Aug 2005 06:50 PDT
Expires: 05 Oct 2005 08:37 PDT
Question ID: 553022
How can I create a macro in Microsoft Word 2003 that will put a
reference tag in the footer of the current page only?  The reference
tag should be in the following format "Ref: C:\LocationOfDocument.doc"
and should automatically update if the location of the document
changes.

Request for Question Clarification by sublime1-ga on 08 Aug 2005 16:49 PDT
nabrock...

When you say "current page only", you mean you don't want
this included in a template so that it works for all future
pages?

I don't have Word 2003, but from what I'm reading, creating
a file name & path in the footer is a matter of doing the
following, according to this post on ms-office-chat.com:

 Create "...a FILENAME field for a semi-automatic update.
 To do this, press Ctrl-F9 to create an empty field '{ }',
 then type 'FILENAME' or 'FILENAME \p' between the field
 braces, so that you get: {FILENAME} or {FILENAME \p}.

 {FILENAME} gives just the filename, while
 {FILENAME \p} gives the filename and path."

This feature is built into the program, so a macro is not
necessary. If you want this to apply to all future documents,
you can simply save this as your new Normal template, as 
noted in this exchange on Computing.net:
http://www.computing.net/office/wwwboard/forum/4332.html


Note that, in Word 2003, the path may not appear or update
when viewing the document, but will do so when it is printed.
A post about this can be found on MSusenet.com:

"Although it won't update automatically, it will update when
 you print, and that is what counts. Updating applies to fields
 anywhere in the document provided you have "Update fields"
 checked on the Print tab of Tools | Options. Fields in the
 header/footer update when you print even if you don't have
 that option enabled."

You might also want to check "Update Links" on that Print tab.


Since I don't own a copy of Word 2003, I can't check this out
in that program, though it seems to work in Word '97, so I'll
trust you to tell me if this satisfies your interests in asking
the question, and let me know to post a formal answer if it 
does.

If you need to clarify your question, or ask me about anything
I've posted, just use the Clarify Question button.

A user's guide on this topic is on skermit-ga's site, here: 
http://www.christopherwu.net/google_answers/answer_guide.html#how_clarify 
 
sublime1-ga

Request for Question Clarification by sublime1-ga on 08 Aug 2005 16:51 PDT
Oops...here's the link for the post on MSusenet.com:
http://www.msusenet.com/archive/index.php/t-2697530.html

Request for Question Clarification by maniac-ga on 08 Aug 2005 19:29 PDT
Hello Nabrock,

To apply a footer to a single page you need to create a section break
before / after the page and make sure "same as previous" is turned off
on the header and footer. A simple example is something like the
following:

A
(insert section break - next page here)
B
(insert section break - next page here)
C

which creates three sections:
 1 - has the letter A
 2 - has the letter B
 3 - has the letter C
with each letter on a separate page. You can then view the header /
footer and break the link between headers / footers (there's a button
on the header / footer toolbar to do this), then fill in the headers /
footers for each of the sections. To get the filename and path, I
would use either:
  Autotext button -> Filename and Path
or
  Insert menu -> Field -> Document Information -> Filename
  and use Options... to set look up the formatting (e.g., case) and path 

Would this kind of solution be acceptable?

  --Maniac
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy