Script to Split up Worksheet into Multiple Sheets based on a Columnof Data

X

Xing79

Hi, need help on the following...

If I have a worksheet with the data as follows:

Fruit Color Price (Header Row)
Apple Red $1
Apple Green $2
Banana Yellow $3

How do I write a script to:
- Based on ColA, create a new worksheet named "Apple", "Banana"... etc
- Within the new worksheets, keep the same formatting as the master
worksheet (headers etc.), and copy only the relevant rows there? e.g.
in "Apple" worksheet, it shows

Fruit Color Price (Header Row)
Apple Red $1
Apple Green $2

Thanks!
 

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