Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2011, 12:36 PM
jkallstate jkallstate is offline I just want to add some delimiters :) Windows Vista I just want to add some delimiters :) Office 2007
Novice
I just want to add some delimiters :)
 
Join Date: Jan 2011
Posts: 2
jkallstate is on a distinguished road
Default I just want to add some delimiters :)

I am trying to convert a phonebook into a contact sheet all my data is in the standard phonebook form.

Example:

Jones Al 123 Somewhere State 555-555-0023
Mike 243 Somewhere State 555-233-5434
Steve 243 Somewhere State 555-233-5434
Zach 243 Somewhere State 555-233-5434

Smith A 243 Somewhere State 555-233-5434
Bill 243 Somewhere State 555-233-5434
Dave 243 Somewhere State 555-233-5434
Ed 243 Somewhere State 555-233-5434
Frank 243 Somewhere State 555-233-5434

What I ideally want is

Jones, Al, 123 Somewhere State 555-555-0023
Jones, Mike, 243 Somewhere, State, 555-233-5434
Jones, Steve, 243 Somewhere, State, 555-233-5434
Jones, Zach, 243 Somewhere, State, 555-233-5434

Smith, A, 243 Somewhere, State, 555-233-5434
Smith, Bill, 243 Somewhere, State, 555-233-5434
Smith, Dave, 243 Somewhere, State, 555-233-5434
Smith, Ed, 243 Somewhere, State, 555-233-5434
Smith, Frank, 243 Somewhere, State, 555-233-5434

This is where I am at using find and replace functions

Jones Al 123 Somewhere, State, 555-555-0023
Mike 243 Somewhere, State, 555-233-5434
Steve 243 Somewhere, State, 555-233-5434
Zach 243 Somewhere, State, 555-233-5434

Smith A 243 Somewhere, State, 555-233-5434
Bill 243 Somewhere State, 555-233-5434
Dave 243 Somewhere, State, 555-233-5434
Ed 243 Somewhere, State, 555-233-5434
Frank 243 Somewhere, State, 555-233-5434

So I just need to get the last names to copy to the corresponding lines and place commas in there (after the last and first name).

There is a difference in the last name versus the first names that would allow this I believe. The Last name is font size 6 and the first name is 5.5. And both the first and last name are bold while the remaining text is not bold. Any help would be appreciated. Thanks!
Reply With Quote
  #2  
Old 01-20-2011, 02:32 PM
macropod's Avatar
macropod macropod is offline I just want to add some delimiters :) Windows 7 32bit I just want to add some delimiters :) Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi jkallstate,

Based on what you've posted, you should be able to do the lot with just two wildcard Find/Replace operations, where:
Find = ( [0-9])
Replace = ,\1
Find = ( [A-z]{1,}, [0-9])
Replace = ,\1
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 01-21-2011, 09:24 AM
jkallstate jkallstate is offline I just want to add some delimiters :) Windows Vista I just want to add some delimiters :) Office 2007
Novice
I just want to add some delimiters :)
 
Join Date: Jan 2011
Posts: 2
jkallstate is on a distinguished road
Default

Thanks macropod but it didnt seem to work as well as I thought it would. It put a comma after every number in the address and not just the beginning!

Example

1,2,3, Somewhere Drive
Reply With Quote
  #4  
Old 01-21-2011, 01:23 PM
macropod's Avatar
macropod macropod is offline I just want to add some delimiters :) Windows 7 32bit I just want to add some delimiters :) Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi jkallstate,

I suspect you omitted the space between the '(' and the '[' in the first Find expression.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Other Forums: Access Forums

All times are GMT -7. The time now is 09:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft