ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro needed to copy groups of data from one spreadsheet to anothe (https://www.excelbanter.com/excel-programming/419805-macro-needed-copy-groups-data-one-spreadsheet-anothe.html)

timdavis100

Macro needed to copy groups of data from one spreadsheet to anothe
 
I have a data sheet that is grouped by department. The department name is in
column A, starting at ("A2"). I need a macro that will loop through the
worksheet and copy/paste each department's information into a new workbook.
The new workbook will need to have the same columns in row 1, and similar
formatting of columns/rows. I would also like to name the workbook the same
as the the department name in ("A2").

I am using Excel 2007. Thanks!

timdavis100

Macro needed to copy groups of data from one spreadsheet to anothe
 
Update. I solved the issue. Thanks everyone!

"timdavis100" wrote:

I have a data sheet that is grouped by department. The department name is in
column A, starting at ("A2"). I need a macro that will loop through the
worksheet and copy/paste each department's information into a new workbook.
The new workbook will need to have the same columns in row 1, and similar
formatting of columns/rows. I would also like to name the workbook the same
as the the department name in ("A2").

I am using Excel 2007. Thanks!



All times are GMT +1. The time now is 05:30 PM.

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