Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi. I have a workbook that has 80 sheets. Is there a way to copy column A
from every sheet and paste it one under the other into Sheet1? Thanks! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try something like this
Sub CopyColumnA() Dim Sh As Worksheet, TempSh As Worksheet 'Change the name accordingly Set Sh = Worksheets("Sheet1") 'Clear column A Sh.Range("A:A").ClearContents For Each TempSh In ActiveWorkbook.Worksheets If Not TempSh Is Sh Then TempSh.Range("A1", TempSh.Cells(TempSh.Rows.Count, 1).End(xlUp)).Copy _ Sh.Cells(Sh.Rows.Count, 1).End(xlUp).Offset(1) End If Next TempSh End Sub -- Regards Juan Pablo González "Steph" wrote in message ... Hi. I have a workbook that has 80 sheets. Is there a way to copy column A from every sheet and paste it one under the other into Sheet1? Thanks! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Start here
http://www.rondebruin.nl/copy2.htm -- Regards Ron de Bruin http://www.rondebruin.nl "Steph" wrote in message ... Hi. I have a workbook that has 80 sheets. Is there a way to copy column A from every sheet and paste it one under the other into Sheet1? Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy last entry of column to bottom of column | Excel Worksheet Functions | |||
Can I copy row height like i copy column width? | Excel Discussion (Misc queries) | |||
How to search column, copy row, and copy to another sheet in same | Excel Discussion (Misc queries) | |||
how to make one column copy from one sheet to anoth column w/o zer | Excel Discussion (Misc queries) | |||
To copy values in a column relevant to text in an adjacent column? | Excel Worksheet Functions |