Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default renaming a template file on startup

Hello,

how do I rename a template file after opening it, e.g.
to the current date plus some extension?

--
Johannes
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default renaming a template file on startup

Johannes,
You can't "rename" an open file, only save it with another filename.
e.g. ThisWorkbook.SaveAs Format(Now(),"dd-mm-yyyy") & ".xls"

Or .SaveCopyAs, depending on your needs.

NickHK

"Johannes Zellner" wrote in message
.. .
Hello,

how do I rename a template file after opening it, e.g.
to the current date plus some extension?

--
Johannes



Reply
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
Startup Template GKW in GA Excel Discussion (Misc queries) 4 March 28th 08 09:54 PM
default template at startup Amy Excel Discussion (Misc queries) 4 October 4th 06 01:07 AM
Template Startup Elaine Excel Discussion (Misc queries) 2 June 20th 06 08:41 PM
Excel Template Startup Elaine Setting up and Configuration of Excel 0 June 9th 06 06:53 AM
How do you open a template at startup? James Kendall Excel Discussion (Misc queries) 7 July 26th 05 07:33 PM


All times are GMT +1. The time now is 05:09 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"