J
Jon
I have a workbook with a number of sheets (n) that changes.
Each sheet in the workbook is named; " Sheetn " where n is th
sheet number (e.g. Sheet1, Sheet2, Sheet3 etc.)
I need to know the VBA to check whether a sheet exists; something alon
the line of this
sheetloop = 1
do
domacroonsheet(sheetloop) <--- My other macro that does stuff
sheetloop = sheetloop + 1
loop until exist(sheets("Sheet" & sheetloop))=false
Can someone correct this for me please; I'm desperate to get thi
working!
Many thanks in advance! :confused
Each sheet in the workbook is named; " Sheetn " where n is th
sheet number (e.g. Sheet1, Sheet2, Sheet3 etc.)
I need to know the VBA to check whether a sheet exists; something alon
the line of this
sheetloop = 1
do
domacroonsheet(sheetloop) <--- My other macro that does stuff
sheetloop = sheetloop + 1
loop until exist(sheets("Sheet" & sheetloop))=false
Can someone correct this for me please; I'm desperate to get thi
working!
Many thanks in advance! :confused