D
Dennis
XL 2003 & 97
Almost have it. (I think)
My "If Not" syntax below is incorrect.
The middle line works fine.
If Not Sheets.Name("New") Then
Sheets.Add.Name = "New"
End If
The code is to
1) check the workbook for a sheet name first
2) If the sheet does not exist then add a sheet
3) Name the sheet "New"
Is there a better way?
TIA Dennis
Almost have it. (I think)
My "If Not" syntax below is incorrect.
The middle line works fine.
If Not Sheets.Name("New") Then
Sheets.Add.Name = "New"
End If
The code is to
1) check the workbook for a sheet name first
2) If the sheet does not exist then add a sheet
3) Name the sheet "New"
Is there a better way?
TIA Dennis