JumboCactuar
Well-known Member
- Joined
- Nov 16, 2016
- Messages
- 788
- Office Version
- 365
- Platform
- Windows
Hi,
I have a macro that uses multiple arrays and after use I have a reset button which clears these:
etc...
However in some cases not all arrays are initiated so when I attempt to erase those I get an error as they don't exist.
Is there a way, when erasing them to check if they exist first? Or some way to catch the errors.
Thanks
I have a macro that uses multiple arrays and after use I have a reset button which clears these:
Code:
erase MyArray1
However in some cases not all arrays are initiated so when I attempt to erase those I get an error as they don't exist.
Is there a way, when erasing them to check if they exist first? Or some way to catch the errors.
Thanks