The following causes a "Error 1004 Method 'Range' of Object '_Worksheet' failed.
I'm working in Excel 2003.
RangeStr = "A4:LA24"Sub Delete_Data(SHEET as Worksheet, RangeStr) RangeStr = Make_Range(Row1, Col1, Row2, Col2) SHEET.Range(RangeStr).Delete Shift:=xlShiftUp <-- Error occurs here
So how do I fix it?
Thanks,
Mackerel
Last edited by CaptMac; 10-04-2010 at 09:46 PM. Reason: Marking Solved
The problem turned out to be that I was specifying a column larger than the work space.
But I can't figure out how to mark this thread as "Solved"?
Mac
Last edited by CaptMac; 09-23-2010 at 03:55 PM. Reason: Problem solved but question
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks