hello,
I have the following code which tests for a specific worksheet, It will find the sheet but I am unable to delete the page it found.
What would the proper syntax be?

If WksExists(c.Value) = True Then ' Test for existance of sheet

' (c.Value) is a variable for the worksheet name but if I try

Worksheet(c.Value).Delete the program errors out


Thanks for your input