copying a column

matrickz

New Member
Joined
Oct 20, 2006
Messages
3
I created a document with hidden rows. I now want to copy a column from that report but NOT show the hidden rows. Highlighting the column brings over the entire column. I know I can click on each cell but we are talking 900 cells. How can I copy over JUST the cells that are SHOWING?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
You can use the following code to do it:
Code:
    Columns("C:C").SpecialCells(xlCellTypeVisible).Copy _
        Destination:=Sheets("Test 2").Range("A1")
This copies column C to the WorkSheet called "Test 2", column A.
The hidden rows are not copied.

To do this manually:
Select the Column
Hit Alt-;
Ctrl-C to copy
Ctrl-V to Paste where you want.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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