Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Macro to Name Sheet
Hi,
I want my sheet name to automatically be named as Date(Adj) whereby the Date will be obtained from cell A1. This is what i did but it don't work. What's wrong? Sub New_Month() Dim myAdjName As String myAdjName = Format(Range("A1").Value, "mmm") & "(ADJ)" ActivSheet.Name = myAdjName End Sub Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Data Range Mess | Charts and Charting in Excel | |||
Copy cell format to cell on another worksht and update automatical | Excel Worksheet Functions | |||
MACRO - copy rows based on value in column to another sheet | Excel Discussion (Misc queries) | |||
2 questions, copying data from sheet to sheet and assigning macro | Excel Worksheet Functions | |||
Macro for multiple charts | Excel Worksheet Functions |