Im trying to clear all the data from an excel sheet. Im probably being stupid but i cant seem to get it right. It works if there is data, but somethimes if the sheet has no data it gives me an error. Is this the right code?
Worksheets("Sheet1".Range("A1100".Clear
Im not trying to clear just these specific cells, im trying to make all the cells in the whole sheet blank.
Thanks.
Henry
Worksheets("Sheet1".Range("A1100".Clear
Im not trying to clear just these specific cells, im trying to make all the cells in the whole sheet blank.
Thanks.
Henry