Copying and pasting a long row has issues

nachobear

New Member
Joined
Feb 1, 2024
Messages
25
Office Version
  1. 365
Platform
  1. Windows
Hi

Wanted to see why I can't properly paste an entire row on cells like a few weeks worth from online excel to a die loaded excel file

The copy part isn't the issue only the paste part

And I think the message I get is

The data your pasting isn't the sane size as your selection. Do you want to paste this anyways?

This is related to my last post in a way that, but that post is answered.

Just that when I paste them I don't paste all the items that I have copied.

It only lets me copy and paste within a week, that's when there's no issues but when it's going pass the five days then the message pops up
 
There's probably a VBA solution, but I would just unhide all of the hidden columns (select all and then right-click on a column header and choose unhide), then manually select columns with weekend dates and right-click delete them.
ETA: Given that I don't have all of the information about your spreadsheet, I suggest you try it out on a COPY of your workbook, as deleting cells will affect any cells dependent on them, and you could end up with a lot of #REF errors.
 
Last edited:
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
There's probably a VBA solution, but I would just unhide all of the hidden columns (select all and then right-click on a column header and choose unhide), then manually select columns with weekend dates and right-click delete them.
ETA: Given that I don't have all of the information about your spreadsheet, I suggest you try it out on a COPY of your workbook, as deleting cells will affect any cells dependent on them, and you could end up with a lot of #REF errors.
Good idea on the copy the file

I can't even delete the columns i get this message

1709595388913.png
 
Upvote 0
What does your selected area look like? You should be selecting whole columns (like below), not groups of cells.

1709595853104.png
 
Upvote 0
Are some of the cells in those columns merged? That could be part of the issue, but I'm not sure as your error message indicates an array is involved. That could be something new in Excel 365 (relative to 2007, anyway, which is what I'm using :) ).
 
Upvote 0
Are some of the cells in those columns merged? That could be part of the issue, but I'm not sure as your error message indicates an array is involved. That could be something new in Excel 365 (relative to 2007, anyway, which is what I'm using :) ).
how can i find out if its merged?
 
Upvote 0
Can you use the XL2BB tool to show your destination worksheet? XL2BB - Excel Range to BBCode I think I need more information. A quick google said that the cells targetted for deletion may be in use as part of an array formula. If so, deleting those cells will lead to a bunch of errors.
 
Upvote 0
@nachobear, see the link in the the note in the XL2BB instructions....

Note:
If you have difficulties installing the add-in, please take a look at this amazing article from Jon Peltier - Install an Excel Add-in.
 
Upvote 0
i clicked ok to the option to unblock

1709655071070.png



then that option disappear when i went into properties again and its showing the macros message
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
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