ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Regarding data in multiple tabs in a workbook (https://www.excelbanter.com/excel-programming/319979-regarding-data-multiple-tabs-workbook.html)

mike

Regarding data in multiple tabs in a workbook
 
Have 100 tabs with identical headings for data. Need to
capture this data from each and place into one worksheet
into rows. Is there a way (formula/macro??) to grab data
without having to type the tab "sheet" number for each
worksheet?

Tom Ogilvy

Regarding data in multiple tabs in a workbook
 
Dim sh as Worksheet
for each sh in ActiveWorkbook.worksheets
if lcase(sh.Name) < "summary" then
sh.Range("A1:Z26").Copy Destination:= _
worksheets("Summary").Cells(rows.count,1).End(xlup )(2)
End if
Next

--
Regards,
Tom Ogilvy

"Mike" wrote in message
...
Have 100 tabs with identical headings for data. Need to
capture this data from each and place into one worksheet
into rows. Is there a way (formula/macro??) to grab data
without having to type the tab "sheet" number for each
worksheet?




Ron de Bruin

Regarding data in multiple tabs in a workbook
 
Hi Mike

Check out this also
http://www.rondebruin.nl/copy2.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Mike" wrote in message
...
Have 100 tabs with identical headings for data. Need to
capture this data from each and place into one worksheet
into rows. Is there a way (formula/macro??) to grab data
without having to type the tab "sheet" number for each
worksheet?





All times are GMT +1. The time now is 11:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com