Please help!
I have following VBA code
Sub DeletefromRow5()
Rows(5).Select
Range(Selection, Selection.End(xlDown)).Delete Shift:=xlUp
End Sub
After I run the code my memory usage jump from 51M to 1.6G!! and the program crashed.
Can anyone take a look at my Excel file to see what's happening? I made the file very simple and contain only the above code.
http://dl.dropbox.com/u/9846094/Public/workbook1.xlsm
Thanks a lot!!
I have following VBA code
Sub DeletefromRow5()
Rows(5).Select
Range(Selection, Selection.End(xlDown)).Delete Shift:=xlUp
End Sub
After I run the code my memory usage jump from 51M to 1.6G!! and the program crashed.
Can anyone take a look at my Excel file to see what's happening? I made the file very simple and contain only the above code.
http://dl.dropbox.com/u/9846094/Public/workbook1.xlsm
Thanks a lot!!