Can you help me split a cell and use first part as a new row heading?

CastingDirector

New Member
Joined
Jun 10, 2014
Messages
46
Please consider helping me with this...
banghead.gif


Here is what I have on a sheet:
NAME (B)Date/time info (C)Agent (D)Role/Notes (E)
Sam Smith4-29-2015 5:15 PMWMJimmy/Has Issues
Bud Light4-29 2015 3:12 PMCAAJimmy/No Travel
**** Wood4-23-2015 4:10 PMFrontXavier/Not interested
Al Kida4-4-2015 2:00 PMManagerPaul/Wife pregnant

<tbody>
</tbody>


So here is what I need in VBA sheet module... Please note: Column E (Role/Notes) should split, then first part is moved to make new row heading in bold and in alphabetical order.
The second part of string remains in the cell. Additional data is frequently copied from another sheet into this as well so it would need to accommodate new data over time.
NAME (B)Date/Time Info(C)Agent(D)Role/Notes(E)
Jimmy
Bud Light4-29-2015 4:10 PMCAANo Travel
Sam Smith4-29-2015 5:15 PMWMHas Issues
Paul
Al Kida4-4-2015 2:00 PMManagerWife Pregnant
Xavier
**** Wood4-23-15 4:10PMFrontNot Interested

<tbody>
</tbody>

I am in the final leg of this 2 year journey to make this right (no kidding). Your help means everything to me. Is this do-able? Does it make sense?
 
The only way I could get the error message was to put the code into a sheet code module and run the code twice without resetting the rows. The code should be in the standard module 1, not the sheet code module.

Thank you JLGWhiz This works wonderfully well. I, in fact had it in the wrong module....Please accept my sincere gratitude for sticking with me as well as Soggy's guidance to make this work!
Code:
SOLVED
 
Upvote 0

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Thank you JLGWhiz This works wonderfully well. I, in fact had it in the wrong module....Please accept my sincere gratitude for sticking with me as well as Soggy's guidance to make this work!
Code:
SOLVED

Glad you got it going,
Regards, JLG
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,387
Members
449,445
Latest member
JJFabEngineering

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