Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cannot move nonblank cells off the sheet
On the final line of the following code I am getting run-time error 1004,
cannot move non-blank cells off the worksheet. I inserted the preceding line in order to ensure that there ARE no nonblank cells to be shifted off. It executes that (penultimate) line OK, but it still hangs on the final line. There are no cell comments on the worksheet. Any ideas folks? Thanks. With .Worksheets("Summary") .Range("FooterRow").Offset(1).Resize(65536 - _ .Range("FooterRow").Row).EntireRow.Delete shift:=xlUp .Range("HeaderRow").Offset(1).EntireRow.Insert -- Return email address is not as DEEP as it appears |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cannot move nonblank cells off the sheet
Solved it thanks.
"Jack Sheet" wrote in message ... On the final line of the following code I am getting run-time error 1004, cannot move non-blank cells off the worksheet. I inserted the preceding line in order to ensure that there ARE no nonblank cells to be shifted off. It executes that (penultimate) line OK, but it still hangs on the final line. There are no cell comments on the worksheet. Any ideas folks? Thanks. With .Worksheets("Summary") .Range("FooterRow").Offset(1).Resize(65536 - _ .Range("FooterRow").Row).EntireRow.Delete shift:=xlUp .Range("HeaderRow").Offset(1).EntireRow.Insert -- Return email address is not as DEEP as it appears |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
count nonblank cells | Excel Worksheet Functions | |||
How to copy only nonblank entries in sheet | Excel Discussion (Misc queries) | |||
Adding only NONBLANK cells | Excel Discussion (Misc queries) | |||
counting nonblank cells | Excel Worksheet Functions | |||
move between unlocked cells on protected sheet | Excel Discussion (Misc queries) |