Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-10-2019, 06:17 AM
boonlailee boonlailee is offline Mergefield - Replace Prefix of Document Number Windows 10 Mergefield - Replace Prefix of Document Number Office 2019
Novice
Mergefield - Replace Prefix of Document Number
 
Join Date: Jun 2019
Posts: 6
boonlailee is on a distinguished road
Default

Hi, thank you for your suggestions.
I tried all of your suggestion, but still did not get what i desired.

Let me show you the result i get so far,

1. Original Result before any amendment: INV-0001
2. Result after amendment as per Paul: INV-0001
3. Result after amendment as per Graham: DO-INV-0001

Hope you can help to identify where goes wrong please.


thanks again.

Boon Lai
Reply With Quote
  #2  
Old 06-10-2019, 04:32 PM
macropod's Avatar
macropod macropod is offline Mergefield - Replace Prefix of Document Number Windows 7 64bit Mergefield - Replace Prefix of Document Number Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Quote:
Originally Posted by boonlailee View Post
Let me show you the result i get so far,

1. Original Result before any amendment: INV-0001
2. Result after amendment as per Paul: INV-0001
3. Result after amendment as per Graham: DO-INV-0001
Either approach, done correctly, will generate DO-0001. I can only conclude you haven't followed the instructions. Without actually seeing the problem mailmerge main document, it can be difficult for anyone to diagnose the issue. Can you attach the mailmerge main document to a post (delete anything sensitive)? You do this via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 06-10-2019, 05:45 PM
boonlailee boonlailee is offline Mergefield - Replace Prefix of Document Number Windows 10 Mergefield - Replace Prefix of Document Number Office 2019
Novice
Mergefield - Replace Prefix of Document Number
 
Join Date: Jun 2019
Posts: 6
boonlailee is on a distinguished road
Default

Hi Paul,

thanks for your feedback, refer the attached.

Page 1:
Highlighted in Yellow, this is the original Invoice No based on <<DocNumber>> and required NO transformation. the result is INV-0001 (this one is totally fine).

Page 2:
Highlighted in Green, this is the DO No, to be based on <<DocNumber>> which required transformation we discussed above, the expected result should be DO-0001
and have yet to get the desired outcome.

Thanks again.
Boon Lai
Attached Files
File Type: docx PO_HuxleyFormat_v9_MsForum.docx (126.0 KB, 9 views)
Reply With Quote
Reply

Tags
merge field, merge fields



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to populate column with text prefix then next number (ascending) SerenityNetworks Excel 4 02-05-2019 07:22 AM
Mergefield - Replace Prefix of Document Number Replace characters in mergefield tommatwalker Mail Merge 6 07-17-2018 12:30 AM
Find entries lacking prefix and then add prefix. gsteel Excel 2 08-28-2017 11:36 AM
Mergefield - Replace Prefix of Document Number Word 2007 TOC Section Number w/Alpha Prefix? Gwen Butler Office 2 09-29-2011 06:10 AM
Mergefield - Replace Prefix of Document Number Find & Replace words with "/" prefix & suffix tollanarama Word 4 01-25-2011 02:19 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:50 AM.


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