Error: Cannot Shift Items off Sheet

AlexanderBB

Well-known Member
Joined
Jul 1, 2009
Messages
2,099
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
This has just started to appear as the workbook loads.
It continues to load and everything seems fine .. until I try to Hide or Unhide something.
Some cols are ok and some bring up the error again.

Is there anything I can do to fix it ?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
There's no unused Cols on the right, it stops at "Z". (I must have done this somehow)
There was formatting on unused rows below the last filled row, so I cleared them.
Bur it hasn't helped, problem remains. AFAIK I have no "used range".
 
Upvote 0
Is this caused by a workbook_open macro ??
It usually means sonething like you are copying a whole row and trying to paste it in col "B" or greater thereby trying to paste off the sheet
 
Upvote 0
The whole worksheet (Cols A-Z) were populated by a macro (reading in from an ADODB connection).
Row 1 was filled in Excel first, though - with the column Names.
Should I have set something to the whole sheet first? I'm not following what you mean by "paste off the sheet".
 
Upvote 0
If the WHOLE worksheet is filled, then you can't do much about it. You've a lot of data
 
Upvote 0
What I'm saying is:
If you were to copy and ENTIRE row...then try to paste it anywhere in the same / other sheet, but in a different column, Excel would give that error, as an ENTIRE row MUST be pasted in col "A"
 
Upvote 0
Thanks for replies. I think I've found the source, each row has a Comment in one of the columns (not the last one though).
I've removed them all and the problem goes away. Trouble is, I want them.
What are the limits for Comments? Maybe it was some of them not all, causing the problem? Can I find which if that's the case?
 
Upvote 0
<img src="https://www.pixelsbin.com/images/2019/06/13/sheet2-not-updated67fa228c1756eee6.png" alt="sheet2-not-updated67fa228c1756eee6.png" border="0" />
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top