A
Alen
How to check from VBA if sheet named "JohnDoe" exists in workbook?
Sub del_sheet()
if exist(sheets("JohnDoe")) then
application.displayalerts = false
sheets("JohnDoe").delete
application.displayalerts = true
end if
With what code I have to put instead of "exist(sheets("JohnDoe"))"
Regards, Alen
Sub del_sheet()
if exist(sheets("JohnDoe")) then
application.displayalerts = false
sheets("JohnDoe").delete
application.displayalerts = true
end if
With what code I have to put instead of "exist(sheets("JohnDoe"))"
Regards, Alen