ransomedbyfire
Board Regular
- Joined
- Mar 9, 2011
- Messages
- 121
I have been using Sheet1.Cells.Clearcontents to clear a sheet; but I've noticed that when I do an SQL query via VBA and use this code, it doesn't always clear all cells. So then, when I try to replace the old imported table with a new one, I get a message about not overlapping tables.
Can someone give me a better way to make sure ALL cells in a sheet are cleared?
Thanks!
Can someone give me a better way to make sure ALL cells in a sheet are cleared?
Thanks!