A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Macro that will add the file path & date to Word footnotes?



 
 
Thread Tools Display Modes
  #1  
Old December 15th, 2004, 07:29 PM
Rich P
external usenet poster
 
Posts: n/a
Default Macro that will add the file path & date to Word footnotes?

Is there a macro that will add the file path, date & Page numbering to
footnotes for both Word 2000 and Word 2003 ? Word Perfect has such a macro
and it automatically updates the file path if you move the file.
  #2  
Old December 15th, 2004, 08:08 PM
Jay Freedman
external usenet poster
 
Posts: n/a
Default

Rich P wrote:
Is there a macro that will add the file path, date & Page numbering to
footnotes for both Word 2000 and Word 2003 ? Word Perfect has such a
macro and it automatically updates the file path if you move the file.


Hi Rich,

I suspect when you wrote "footnotes" you meant "footers" (the area at the
bottom of each page with repeating information). Word uses fields for those
purposes. Where I show fields below, I'm writing the "field code" within
brackets, which is what you see when you press Alt+F9; press the same
combination again to toggle the codes off and display the field results.

When you open the pane with View Header and Footer, you'll see the
Header/Footer toolbar. The button at the left end has a dropdown list of
AutoText entries; most of them are text and/or fields that are useful in
headers & footers. You can get similar results by using the Insert Field
dialog.

Some useful AutoText names and the corresponding text and fields a

Filename and path
{FILENAME \p}
Created on
Created on {CREATEDATE \@ "M/d/yyyy h:mm:ss am/pm"}
Page X of Y
Page {PAGE} of {NUMPAGES}

If you want something slightly different, you can modify these entries, or
record your own AutoText.

For just a plain page number, click the # button on the toolbar, which
inserts a {PAGE} field.

The Filename field in recent Word versions doesn't update automatically,
even if you rename the document with File Save As and then reopen the
document. You have to click the field and press F9 to update it, or go to
File Print Preview and back.

A last word: rather than adding these things individually to each document
you write, create a template that contains the footer text and fields you
want for that kind of document. Then use File New and select the template
to make a new document. The footer will appear in the document
automatically.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org


  #3  
Old December 15th, 2004, 08:49 PM
Charles Kenyon
external usenet poster
 
Posts: n/a
Default

Jay has already answered your question, so here are answers to some
questions you didn't ask:

General Info on moving from Word Perfect to Word:

Word and Word Perfect work very differently from one another. Each program's
methods have strengths and weaknesses; but, if you try to use one of these
programs as if it were the other, it is like pushing on a string! You can
easily make a lot of extra work for yourself. If you are unwilling to take
the time to learn to use Word's methods, you should stick to using Word Pad.
You'll have a lot less grief, although you'll miss out on a lot of raw
power.

See http://www.addbalance.com/word/wordperfect.htm
http://www.mvps.org/word/FAQs/Genera...ordPerfect.htm
http://www.mvps.org/word/FAQs/Genera...AndGotchas.htm
http://www.mvps.org/word/FAQs/General/RevealCodes.htm
http://www.mvps.org/word/FAQs/Genera...Converters.htm
http://businesssoft.about.com/comput.../blconvert.htm
for information on Word for Word Perfect users.

For mo
http://www.mvps.org/word/FAQs/Custom...platePart2.htm
http://www.mvps.org/word/FAQs/Custom...platePart1.htm
http://www.addbalance.com/usersguide/templates.htm
http://www.mvps.org/word/FAQs/Number...gExplained.htm
http://www.addbalance.com/usersguide/styles.htm
http://www.mvps.org/word/FAQs/Custom...latesStore.htm

In Word 2000 (or later) You can get the function keys to display in a
special toolbar at the bottom of the screen if you want (something like
pressing F3 twice in WP). The following macro will do this.
Sub ShowMeFunctionKeys()
Commandbars("Function Key Display").Visible = True
End Sub

Some special characters in Word Perfect documents don't convert well to
Word. There is a macro to assist with this described at
http://www.columbia.edu/~em36/wpdos/...html#macroword and can be found
at http://www.columbia.edu/~em36/wpdos/WPSymbolConv.bas.
This was prepared by Edward Mendelson.

Word's Extend key (F8) gives something similar to block processing.

Learn about Styles - really learn!
http://www.addbalance.com/usersguide/styles.htm I resisted for years and now
regret every day of those years because although that string was still very
hard to push, it kept getting longer and longer, and had some very important
projects tied to it! Once you understand styles and the Word concept of
organizing things into Chinese boxes everything falls into place and instead
of pushing a string, you can push a button that turns on the very powerful
text processing machine known as Microsoft Word and it will start doing your
work for you instead of running around behind you trying to undo what you
just thought you did.

Finally, in WP a lot of people use macros to hold chunks of text -
boilerplate. In Word this function is filled by Templates, AutoText and
AutoCorrect, not macros. Follow the links at
http://addbalance.com/word/wordwebre...s.htm#AutoText for more
information on these tools.
It's a lot of reading, I know. It's OK to chunk it down and do a bit each
day, but I would recommend that you make it a top priority to do that bit
each day.
You can use FILLIN and ASK fields or UserForms to query the user. For some
form documents, Word's "online forms" work very well. For more about online
forms, follow the links at
http://word.mvps.org/FAQs/Customizat...nTheBlanks.htm especially Dian
Chapman's series of articles.

As for converting documents from Word Perfect to use in Word... In a word,
don't plan on it. I would not recommend using converted documents long-term.
They will be filled with formatting anomolies that will get you at the worst
time. This is especially true of any documents containing automatic
numbering or bullets. Try recreating form documents in Word using the
following process:
In Word Perfect (if you still have it, in Word if not) save your files as
text files.
Use your converted files as references to show you how you want your
formatting to look.
Create a new document in Word and insert the text from the text file. Save
this new document as a Word template. Format it the way you want using
styles, not direct formatting. Save it again.
To use a template within Word, use File = New and pick your template. This
will create a new document for you.

Conversion back to Word Perfect: There is a problem (in addition to the ones
mentioned for conversion _to_ Word) with Version 2002 (XP) and later of
Word. The conversion file only works for conversion _to_ Word, not from Word
to Word Perfect! Earlier versions went both ways. To fix this, you need to
find the old conversion file WPFT532.CNV from a Word 97 or Word 2000
installation and copy it to your new installation, replacing the file of the
same name. While I don't know of any problems this causes, keep the new
installation's file somewhere as a backup just in case.

General practice in WP is to have a document and copy and edit it to create
a new document. This is not good practice in Word. In Word, construct a
good, tight, template for your documents and use that template when
constructing new documents. Among other things, this can avoid embarrassing
"metadata" http://www.addbalance.com/usersguide/metadata.htm and things like
surprise headers and footers from creeping into new documents.

--

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.

"Rich P" Rich wrote in message
...
Is there a macro that will add the file path, date & Page numbering to
footnotes for both Word 2000 and Word 2003 ? Word Perfect has such a
macro
and it automatically updates the file path if you move the file.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
saving the workspace Mike General Discussion 3 December 9th, 2004 12:32 AM
Aggregating Date Data into Weeks and Quarters Roger Running & Setting Up Queries 3 July 11th, 2004 05:56 PM
You do not have exclusive access... ERROR Robin General Discussion 1 July 6th, 2004 01:18 AM
Productkey problem when installing office 2003 on network Stefan Schreurs Setup, Installing & Configuration 1 June 1st, 2004 11:16 PM
Save As and changing file names in Word 2000 Gene Goldenfeld New Users 11 May 5th, 2004 04:08 AM


All times are GMT +1. The time now is 02:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.