Paste with hidden rows

krodriguez

Board Regular
Joined
Jul 11, 2012
Messages
119
Any trick to paste data only on visible cells where there are hidden rows and don't want to override existing data on the hidden ones.

Example: Sheet 1, you have 10 rows and applied a filter and now only visible rows are 5 and 8, on sheet 2 I copied the original values of rows 5 and 8 and change them now I need to go back and update sheet 1, how do I take these new values and paste them into sheet 1 with the applied filter so my other rows (1,2,3,4,6 and 7) don't change and only rows 5 and 8 get updated. I hope this makes sense
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Please check out this article:
Excel VBA: easy way to paste to visible cells

And you can put the code in PERSONAL.xlsb and assign a toolbar button to it. The benefit of doing it this way:
The macro is available on any open workbook & easy to access (i.e. via a toolbar button)
You don’t need to put the macro on all your workbooks, just on PERSONAL.xlsb.
 
Upvote 0
Please check out this article:
Excel VBA: easy way to paste to visible cells

And you can put the code in PERSONAL.xlsb and assign a toolbar button to it. The benefit of doing it this way:
The macro is available on any open workbook & easy to access (i.e. via a toolbar button)
You don’t need to put the macro on all your workbooks, just on PERSONAL.xlsb.
I agree great ideal. I use the Personal.xlsb often and then assign the script to the Quick assess tool bar QAT. That way the same action can be used on any open workbook.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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