I don't have 2010 so I'm not sure on in being compatible, but my guess should work the same.
Sorry I forgot to attach the workbook
•Highlight macro >> press >> CTRL + C
•Open your workbook
•Press >> ALT + F11 >> opens the Visual Basic Editor (VBE)
•Press >> ALT + I >> activates the Insert menu
•Press >> M >> inserts a Standard Module
•Paste code >> CTRL + V (right side of screen)
•Press >> ALT + Q >> exits VBE and returns to Excel
•Run the macro >> press >> ALT + F8 >> displays Macro Dialog Box. Highlight macro >> select Run.
HTH
Regards, Jeff
Your a genius!
However... I do have other data that would need to be moved when it does the move besides First / Last Name. I need to also move email, phone and title. I have included what my template looks like with some fake data, if you could fix this you would move from Genius to Rock Star! - Oh, and there are 3500 rows of data... not sure if that matters to your macro or not. I have put column headers for up to 4 contacts per company. If there would be a way to create the columns as needed (more then 4 contacts per company) that would be amazing.... otherwise any more then 4 can be ignored / deleted.
Last edited by scooby103; 12-31-2010 at 03:04 PM. Reason: Attachment didn't attach....
Never mind
I think creating more than four contacts could be possible, but before we move further I just need to confirm your desired outcome.
Could you adjust your sample data to contain two tabs. One with the original data (no extra columns) and then a tab with the final results in the format you desire?
Hey Jeff,
Again - thanks for your help, this is awesome.
I have attached the updated sheet with the 2 tabs. The first is the *raw* data and the 2nd would be the outcome I would like to see. Again, if it's possible to create more contact areas if a company should have more (I know one company I have has 23 contacts...) that would be awesome. If not, if we could have space for 5 that would be perfect.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks