Create multiple workbooks from a single Excel spreadsheet

S

slowjam4

Can someone help me with a Macro to create multiple workbooks from a
single Excel spreadsheet?The data on the spreadsheet is similar to the
following:

A B C
DEPTA XXXX YYYY
DEPTA AAAA BBBB
DEPTA DDDD RRRR
DEPTB SSSS TTTTT
DEPTB XXXXX AAAA
DEPTC AAAA BBBB
DEPTC JJJJJJ LLLLLL
..
..
..
..

I would like to create a new workbook with all of the rows for DEPTA in
it, another workbook with all of the rows for DEPTB in it, another
workbook with all of the rows for DEPTC in it, etc. If possible, I
would like the name of each new workbook to begin with the value in
column A. For example, DEPTAmmddyy.csv, DEPTBmmddyy.csv, etc.

Thanks for any suggestions.
 
S

slowjam4

Hi Ron,
Your solution worked perfectly. Thanks for your prompt reply to my
question.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top