bobaol
Board Regular
- Joined
- Jun 3, 2002
- Messages
- 225
- Office Version
- 365
- 2003 or older
- Platform
- Windows
Hello,
I want to find a way to determine if the worksheet "closed" currently exist in my workbook. If the worksheet does exist, then do nothing. If the worksheet does not exist, then insert a new worksheet and name it "closed"
I can insert now, but i don't know how to find if it currently exist.
Sub Macro1()
Sheets.Add
ActiveSheet.Select
ActiveSheet.Name = "closed"
End Sub
thanks in advance.
- bobaol
I want to find a way to determine if the worksheet "closed" currently exist in my workbook. If the worksheet does exist, then do nothing. If the worksheet does not exist, then insert a new worksheet and name it "closed"
I can insert now, but i don't know how to find if it currently exist.
Sub Macro1()
Sheets.Add
ActiveSheet.Select
ActiveSheet.Name = "closed"
End Sub
thanks in advance.
- bobaol