Paste to visible cells only (without VBA or VLOOKUP)?

dalesea

New Member
Joined
Feb 25, 2010
Messages
2
Hi All,

I've been trying to solve a long-standing bug bear that's got me stumped.

To give an example:
> In WorkbookA, A1 = "Customer A", B1 = 1000; A2 = "Customer B", B2 = 0; A3 = "Customer C", B3 = 500. Row 2 is hidden.
> In WorkbookB, I have A1 = "Customer A", B1 = 1000; A2 = "Customer C", B2 = 500. All rows visible.

Going from WorkbookA to WorkbookB, I would use GoTo > Special > Visible Cells only > Copy > Paste (works). But how do I copy/paste WorkbookB!A1:B2 to WorkbookA!A1:B3 (excluding row 2 in WorkbookA)? I guess I want to know if there is a way to Copy > GoTo > Special > Visible Cells only > Paste (error).

I would use a VLOOKUP formulae then paste values or achieve it via a do/loop macro - but there's a specific requirement that these methods aren't used.

Any thoughts?

Thanks
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
As I understand, Excel will paste into a contiguous range, not just the visible cells.
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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