LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.programming,microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Add footer automatically

Let me start by saying that I am new to programming VBA Macros, but I'm
learning on the fly and I'll be happy to try out any and all
suggestions. Now, on to the problem.

We're trying to come up with a way of having a unique id number for
every new document created. I think that a good way to do this is to
create templates for word and excel (the two programs we use for
document creation). I'm trying to come up with a macro for the
templates that automatically adds a footer with a trimmed down
time/date stamp upon the first save. By "trimmed down" I mean that
12/04/2006 11:15:32PM would be shortened to 12042006111532. I only
need it to do this the first time a document is saved because if the
time/date updated itself every time the document was used it would
undermine the whole plan for unique document id numbers.

Thanks for your help.
Brett

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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
How to ALWAYS have footer automatically? Donna Excel Worksheet Functions 2 November 2nd 06 11:10 PM
automatically insert footer jimmyp Excel Discussion (Misc queries) 3 May 15th 06 01:37 PM
Can you set up Excel to automatically add a standard footer? James Excel Discussion (Misc queries) 3 April 5th 06 12:01 PM
can excel automatically insert a custom footer in all files alanortho Excel Discussion (Misc queries) 3 March 16th 06 05:59 PM
Filename in footer automatically in new workbook. cmorton89 Excel Discussion (Misc queries) 1 March 9th 06 12:52 PM


All times are GMT +1. The time now is 02:14 AM.

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

About Us

"It's about Microsoft Excel"