Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-27-2024, 01:43 PM
scribbled scribbled is offline MailMerge field for decimals with letters, i.e. 1A.23 Windows 10 MailMerge field for decimals with letters, i.e. 1A.23 Office 2021
Novice
MailMerge field for decimals with letters, i.e. 1A.23
 
Join Date: Jun 2024
Posts: 3
scribbled is on a distinguished road
Unhappy MailMerge field for decimals with letters, i.e. 1A.23

I have two format possibilities for data in an Excel column: ##.##, or #*.## (i.e. 1.23 or 4A.56).

If the mergefield is used with no switches then 4A.56 shows as expected, but 1.23 will show with repeating decimals (1.2222222222223). If I use the \# 0.00 switch then 1.23 shows as expected, but the letter is stripped out of 4A.56 (4.56, I also tried \# 00.00).

The core of the issue appears to be that the column is formatted as General in Excel. When I switch that to Text and reload the data source the mergefield with no switches shows both values as expected. The problem is that I cannot change the Excel data source for practical use. This file is being generated by a third-party application that exports the column as General and the datasource is overwritten every time.

Another wrinkle is that this only happens on Windows, which is also the only OS the application is available on. When I load the mail merge doc and the data source on my Mac, it shows both values as expected with no changes to either file.

After hours of playing around, googling, and trying different things, I'm assuming this is just not possible, but I wanted to exhaust all resources before moving on. I haven't gotten it to work using DDE, but it's a pretty janky solution, and I would love for this to be fixable in the document itself.

I've attached a copy of the document and data source. The fields are ItemNumber and SubLocation.

Any insight would be greatly appreciated.



Thanks
Attached Files
File Type: doc MailDoc.doc (32.7 KB, 3 views)
File Type: xlsx Datasource.xlsx (10.9 KB, 4 views)
Reply With Quote
 

Tags
mailmerge



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ref field to Database field doesn't update properly in Mailmerge huynguyen865 Mail Merge 1 08-30-2021 07:30 AM
MailMerge field for decimals with letters, i.e. 1A.23 Macro to insert an image to a word mailmerge document based on the value of a mailmerge field? Jake93 Mail Merge 3 07-02-2019 05:38 PM
Mailmerge field format? Rothera85 Mail Merge 9 05-11-2014 03:41 PM
Words & letters half burried in a Text field in a table. Ed54 Word 4 01-05-2012 04:10 PM
mailmerge with letters of a different numbers of pages roel1972 Mail Merge 0 02-21-2011 11:45 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:47 PM.


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