ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Copying multiple cells out of multiple worksheets at same time. (https://www.excelbanter.com/excel-discussion-misc-queries/260570-copying-multiple-cells-out-multiple-worksheets-same-time.html)

tom

Copying multiple cells out of multiple worksheets at same time.
 
In Excel 2003 I was wondering if it is possible to copy multiple cells A1:O75
in multiple worksheets (sheet1, sheet2, sheet3, etc) and pasting them
Consecutively into one work sheet (all records)?

Thanks for the help.
Tom

Don Guillett[_2_]

Copying multiple cells out of multiple worksheets at same time.
 
One at a time with a one click looping macro

for each ws in sheets.count

ds=Sheets("destinationsheetnamehere")
if ws.name<ds then
lr=ds.cells(rows.count,1).end(xlup).row+1
ws.range("a1:o75").copy ds.cells(lr,1)
end if

next

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"tom" wrote in message
...
In Excel 2003 I was wondering if it is possible to copy multiple cells
A1:O75
in multiple worksheets (sheet1, sheet2, sheet3, etc) and pasting them
Consecutively into one work sheet (all records)?

Thanks for the help.
Tom




All times are GMT +1. The time now is 06:02 AM.

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