VBA to copy visible (NOT hidden) rows of data to another tab

NeerajS

New Member
Joined
Jul 11, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,
I came across a similar thread VBA to copy range data with all visible and invisible cells to another sheet on MrExcel.com and was hoping to get some assistance on my scenario which is as follows:

What I have on a tab (name: origin)
StationPeopleCars
A1229
B610
C42
TBC (This row is hidden)
TBC (This row is hidden)
P1120

What I would want to be copied (only the visible rows) on another tab (name: destination)
StationPeopleCars
A1229
B610
C42
P1120

Also, I have some 10 tabs similar to origin, and was hoping to append all of them into the destination tab.
(I mean finding the next empty row in destination and then copying visible rows from subsequent tabs.)

I'll really appreciate any assistance on this query.

Thanks in advance.

Regards
NeerajS
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
That link you are referring to is in my signature, it is not part of the answer to your question.

The link you provided "copy range data with all visible and invisible cells".

I suggested to search instead for "copying visible cells" there are tons of threads on that.

A better string to search for: "excel VBA copy/paste visible cells"

1657707600013.png
 
Upvote 0

Forum statistics

Threads
1,215,771
Messages
6,126,799
Members
449,337
Latest member
BBV123

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