Macro to create new workbook and sheets

G

Guest

MS: XP
Excel: 2002

I have written macros to rearrange the data the way it’s needed to create a
database. The sheet name is Table. The workbook will be open. Now I need to
do the following and need some help to get it done.

1) Column B contains names, the names are unique and in sorted order.
2) I wish to:
a) Create a new workbook named Schedule. If workbook Schedule already
exists then it needs to be deleted.
b) Create a new sheet in the workbook Schedule for each different name found
in column B.
c) Each newly created sheet to be named the value in column B.
d) Move all rows with the same name to the newly created sheet that has that
name.
e) Finished.

Thanks in advanced for any help.
 

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