Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have the following:
Sub EXAMPLE() Dim 1WorkSheet As String 1WorkSheet = "Sheet One" Sheets.Add.Name = 1WorkSheet Worksheets(1WorkSheet).Visible = xlSheetHidden End Sub How do I check, before 1WorkSheet is created, that there is not already a sheet called "Sheet One". And if there is, use the existing sheet, first of all erasing data in it and carrying on as normal? Thanks! Dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Show it here, if it exists there | Excel Discussion (Misc queries) | |||
Can I create a worksheet menu to select each other worksheet | Excel Discussion (Misc queries) | |||
File Exists | Excel Discussion (Misc queries) | |||
check if worksheet exists | Excel Worksheet Functions | |||
Need help with a function I'm not sure exists | Excel Worksheet Functions |