J
John
Is it possible to sort numerically worksheets via VB when you create a new
worksheet. I have the following code that creates a new worksheet and
renames it based on the value in cell A8 and places it after a sheet called
"Form", but how can I get this new sheet 'placed' numerically?
Thanks
Dim strSheetName As String ' Input Sheet Name
strSheetName = Format(Worksheets(ActiveSheet.Name).Range("a8"),
"dd-mm-yy")
Sheets.Add
ActiveSheet.Name = strSheetName
ActiveSheet.Select
ActiveSheet.Move After:=Sheets("Form")
worksheet. I have the following code that creates a new worksheet and
renames it based on the value in cell A8 and places it after a sheet called
"Form", but how can I get this new sheet 'placed' numerically?
Thanks
Dim strSheetName As String ' Input Sheet Name
strSheetName = Format(Worksheets(ActiveSheet.Name).Range("a8"),
"dd-mm-yy")
Sheets.Add
ActiveSheet.Name = strSheetName
ActiveSheet.Select
ActiveSheet.Move After:=Sheets("Form")