Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2019, 04:45 AM
Stax82 Stax82 is offline Problem with formating Windows 10 Problem with formating Office 2019
Novice
Problem with formating
 
Join Date: Apr 2019
Posts: 2
Stax82 is on a distinguished road
Default Problem with formating


Hi,
In my excel-sheet (source document) I have a column with ssnr in the format "########-####" and some with "########-T###". The format in the column in excel is Custom "########-####".

How can I merge this numbers in to my word document?
Right now I have "{MERGEFIELD ssnr \# ########'-'####}"
When I merge and the source document contains a T the result in my word document is just "-".
Reply With Quote
  #2  
Old 04-30-2019, 02:49 PM
macropod's Avatar
macropod macropod is offline Problem with formating Windows 7 64bit Problem with formating Office 2010 32bit
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

You should get the desired result just by omitting the field switch; otherwise, see Mailmerge US Social Security Number Formatting in the Mailmerge Tips & Tricks 'Sticky' thread at the top of this forum: https://www.msofficeforums.com/mail-...ps-tricks.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 05-07-2019, 04:42 AM
Stax82 Stax82 is offline Problem with formating Windows 10 Problem with formating Office 2019
Novice
Problem with formating
 
Join Date: Apr 2019
Posts: 2
Stax82 is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
You should get the desired result just by omitting the field switch; otherwise, see Mailmerge US Social Security Number Formatting in the Mailmerge Tips & Tricks 'Sticky' thread at the top of this forum: https://www.msofficeforums.com/mail-...ps-tricks.html
If I omit the field switch \# ########'-'#### then i got the a decimal number 1,#########e+11 for the SSN's without a T in them.
Reply With Quote
  #4  
Old 05-07-2019, 02:38 PM
macropod's Avatar
macropod macropod is offline Problem with formating Windows 7 64bit Problem with formating Office 2010 32bit
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

Try making sure the first record or two have the T in them, or create a dummy first record with just some text in that field.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bibliography formating problem 3nduranc3 Word 1 11-06-2014 02:03 PM
Chart Formating with ChartTitle Font and DataLabel Formating shilabrow Excel Programming 0 06-30-2014 10:01 AM
Problem with formating Need help formating a object csurocker Word 5 10-18-2013 03:35 AM
Problem with formating Date formating problem in EXCEL 2003 lyngio Excel 10 01-27-2012 03:37 AM
After formating PC milkmile Outlook 2 10-12-2010 06:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:41 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