Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to delete a range and re-create it later in my code. I tried the
following but it doesn't work if the range does not exist: On Error Resume Next Range("D_CARDS").Delete How can I check for the existence of a range and, in case it does exist, delete it, otherwise continue with my code? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Check for existence | Excel Discussion (Misc queries) | |||
VBA to check for existence of a DSN | Excel Programming | |||
Check File Existence | Excel Programming | |||
How do I check for existence of a worksheet? | Excel Worksheet Functions | |||
Code to check existence | Excel Programming |