Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Copy Column A

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Copy Column A

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Copy Column A

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy last entry of column to bottom of column jimmy_v_12 Excel Worksheet Functions 4 October 29th 09 08:53 PM
Can I copy row height like i copy column width? Markman Excel Discussion (Misc queries) 1 April 3rd 09 01:54 AM
How to search column, copy row, and copy to another sheet in same Rockhound Excel Discussion (Misc queries) 1 December 9th 06 04:16 PM
how to make one column copy from one sheet to anoth column w/o zer areezm Excel Discussion (Misc queries) 3 June 6th 06 10:45 PM
To copy values in a column relevant to text in an adjacent column? Guy Keon Excel Worksheet Functions 2 November 15th 05 08:10 PM


All times are GMT +1. The time now is 02:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"