New tab when name changes in column A

marcidee

Board Regular
Joined
May 23, 2016
Messages
184
Office Version
  1. 2019
Please can you help with a script.

I have a spreadsheet that goes on for numerous lines - I would like to create a news tab every time there is a name change in Column A - and copy the contents of all columns (B - G) - the name could appear on several rows.

ie in the example below 3 new tabs created - one for each name - the tabs renamed with that person's name and all 6 columns columns copied

Thank you for your help

Abimbola Dunsin (Dunsin) B1Thu 08 Aug 2019Peter Howes0.759.006.75
Abimbola Dunsin (Dunsin) B1Fri 09 Aug 2019Peter Howes0.59.004.5
Abimbola Dunsin (Dunsin) B1Sat 10 Aug 2019Phillip Mercer0.259.002.25
Abimbola Dunsin (Dunsin) B1Sun 11 Aug 2019Theresa Darling0.259.002.25
Afaque Solangi1Mon 12 Aug 2019Mohsen Taheri79.0063
Afaque Solangi1Tue 13 Aug 2019Mohsen Taheri79.0063
Afaque Solangi1Wed 14 Aug 2019Mohsen Taheri79.0063
Amalia Gatou B1Thu 15 Aug 2019Amanda King19.009
Amalia Gatou B1Fri 16 Aug 2019Amanda King0.259.002.25
Amalia Gatou B1Sat 17 Aug 2019Amanda King0.259.002.25
Amalia Gatou B1Sun 18 Aug 2019Amanda King0.59.004.5

<tbody>
</tbody>
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
You're welcome.
Also please take a moment to the read the rules, especially rule#13 regarding cross posting
 
Upvote 0

Forum statistics

Threads
1,215,310
Messages
6,124,187
Members
449,147
Latest member
sweetkt327

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top