Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Sheet name as date

Sub nosheet()
Sheets(Sheets.Count).Name =
Replace(Sheets("Sheet1").Range("B16").Text,"/","_")
End Sub

--
Regards,
Tom Ogilvy


"ToddEZ" wrote in message
...
I am still having a problem. I think it is because the sheet name will not
allow for a "/" character... hence no 12/31/06. Any ideas?

"Gary''s Student" wrote:

Try:

Sub nosheet()
Sheets(Sheets.Count).Name = Sheets("Sheet1").Range("B16").Value
End Sub

This will rename the "last" sheet based upon the value in Sheet1
--
Gary's Student


"ToddEZ" wrote:

I would like to rename a new sheet as a date populated in cell b16 of
sheet1.

This is what I have thus far: Newsh.Name = Sheets("input
sheet").Range("b16").Value

Anyone know of any work-arounds?

Thanks



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
building a reporting sheet which reports by date and shows values of another sheet Tom Ogilvy Excel Programming 0 October 11th 05 01:12 PM
How to record a sheet change showing row column sheet name and date? Simon Lloyd[_584_] Excel Programming 0 October 6th 04 12:57 PM
How to record a sheet change showing row column sheet name and date? Simon Lloyd[_582_] Excel Programming 0 October 6th 04 10:17 AM
How to record a sheet change showing row column sheet name and date? Simon Lloyd[_580_] Excel Programming 1 October 6th 04 09:30 AM
How to record a sheet change showing row column sheet name and date? Simon Lloyd[_574_] Excel Programming 1 October 5th 04 11:22 AM


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