Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Date as worksheet name

I am using workbook "EPLC.xls", as my active workbook, which then open
a second workbook, which itself is named as
"{The date the day before}NW AB.xls"
eg. if today is 03.08.2004 then the worksheet i am opening is calle
"02082004 NW AB.xls".

What i then want to do is create a worksheet with todays date (i
format "ddmmyyyy" on the second workbook.

So in the example above workbook

"02082004 NW AB.xls" needs worksheet

"03082004" creating in it.

Is this possible ??

I have tried a few ways but just get errors!!

Any help appreciated

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Date as worksheet name

worksheets.Add After:=Worksheets(worksheets.count)
worksheets(worksheets.count).Name = Format(Date,"ddmmyyyy")

--
Regards,
Tom Ogilvy

"Jako " wrote in message
...
I am using workbook "EPLC.xls", as my active workbook, which then opens
a second workbook, which itself is named as
"{The date the day before}NW AB.xls"
eg. if today is 03.08.2004 then the worksheet i am opening is called
"02082004 NW AB.xls".

What i then want to do is create a worksheet with todays date (in
format "ddmmyyyy" on the second workbook.

So in the example above workbook

"02082004 NW AB.xls" needs worksheet

"03082004" creating in it.

Is this possible ??

I have tried a few ways but just get errors!!

Any help appreciated.


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Date as worksheet name

Thanks Tom.

Please could you also tell me how to add "Auditor Name" to Cell A1 o
each of the newly ceated worksheets.

I would also like to have cells A1 to D1 with an interior colour o
15.

So in total there will be 5 worksheets with this same info on them.


Cheer

--
Message posted from http://www.ExcelForum.com

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
Formula for returning date entered by date on another worksheet Tom Excel Worksheet Functions 2 January 29th 09 05:44 AM
Date of worksheet comes out numbers on other linked worksheet Deb A[_2_] Excel Worksheet Functions 2 July 16th 08 10:41 PM
copy date from worksheet to another worksheet (same File0 wamajkr Excel Discussion (Misc queries) 1 January 15th 07 03:32 PM
How do I copy a date in a worksheet cell to another worksheet? JennLee Excel Worksheet Functions 3 February 17th 06 05:38 PM
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM


All times are GMT +1. The time now is 05:10 AM.

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

About Us

"It's about Microsoft Excel"