Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Office > Word

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 12-14-2007, 10:14 AM
Novice
 
Join Date: Jun 2006
Posts: 2
mikeburg
Default Put File Name Of A Document On Line 1 Of The Document

I am needing auto open VBA code that will center the name "FAX MESSAGE COVER PAGE", the document's file name (always different) & today's date all on line 1 when it's opened (I already have auto open VBA that save the document, with Save As, the user's name in the file name).
For example, when I open the document MW070.doc, it's auto open VBA has saved as MW070mike.doc. What I need is the following centered on the 1st line:
FAX MESSAGE COVER PAGE MW070mike.doc 12-14-07
Keep in mind, the MW070mike.doc, will be MW070sherry.doc if user sherry opens MW070.doc, etc. So the VBA needs to use the new file name in the Line 1 line.
Thanks so very much for all your help. mikeburg
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Document Template cmcf Word 0 10-23-2008 06:23 AM
How to link text from one document to another nospamforyou Word 0 10-09-2008 12:14 PM
Document status changes to read only rtankersley Word 0 10-01-2008 08:15 AM
When i clicked on a file, it showed up blank.(LIFE ON LINE)! angelo1405 Word 0 03-17-2008 07:47 PM
Recovering a document randary Project 0 12-13-2005 06:17 AM


All times are GMT -4. The time now is 02:35 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.