Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi all,
I need a macro to: Copy the latest worksheet, (not a specific one each time) Rename the worksheet to the contents of a cell (i.e. a date) Any help with code? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This should start you off in the right direction.
Tell me what you don't like about it and we will go from there. Sub TryThis() Sheets(Sheets.Count).Copy After:=Sheets(Sheets.Count) Sheets(Sheets.Count).Name = Sheets(Sheets.Count).Range("A1").Value End Sub -- Allllen "henry" wrote: Hi all, I need a macro to: Copy the latest worksheet, (not a specific one each time) Rename the worksheet to the contents of a cell (i.e. a date) Any help with code? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating a Worksheet | Excel Discussion (Misc queries) | |||
Rename a Worksheet on Input of Value in Cell | Excel Worksheet Functions | |||
How do I insert the filename of the worksheet into a cell? | Excel Discussion (Misc queries) | |||
Using information from one worksheet, to rename inserted worksheet | Excel Worksheet Functions | |||
how do i rename worksheet to equal cell name | Excel Worksheet Functions |