ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   If Worksheets("Test") Exists Then Delete It (https://www.excelbanter.com/excel-programming/272309-if-worksheets-test-exists-then-delete.html)

Don[_7_]

If Worksheets("Test") Exists Then Delete It
 
Hi,

I want to do the above, but just can't work out how to do
it. If anyone has a piece of code that would work, I would
be very grateful.

Exists does not seem to work with the Worsheets.Item
object.

Don.


All times are GMT +1. The time now is 10:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com