Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2020, 03:56 PM
Charles Kenyon Charles Kenyon is online now MergeField multiple conditions (format date and delete previous text if blank) Windows 10 MergeField multiple conditions (format date and delete previous text if blank) Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,471
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

I moved this to the mailmerge forum.




The \b switch does not insert text. It inserts a space.
{ IF { MERGEFIELD Date } <> "" "Date: { MERGEFIELD Date \@"dd-MM-yyyy" }" }
Reply With Quote
  #2  
Old 07-28-2020, 01:02 AM
macropod's Avatar
macropod macropod is offline MergeField multiple conditions (format date and delete previous text if blank) Windows 7 64bit MergeField multiple conditions (format date and delete previous text if blank) Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,375
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 Charles Kenyon View Post
The \b switch does not insert text. It inserts a space.
Not so - it can insert whatever content one desires. The real problem is that it doesn't work with other switches.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
MergeField multiple conditions (format date and delete previous text if blank) Delete comma and space after blank merged value. Also remove Previous space and word before blank Alex1s85 Mail Merge 4 01-18-2020 11:30 PM
Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row PrincessApril Excel 3 11-21-2019 12:50 PM
MergeField multiple conditions (format date and delete previous text if blank) from text to table, with conditions depending on format Marco Word VBA 2 10-29-2015 06:40 PM
MergeField multiple conditions (format date and delete previous text if blank) multiple conditions, and blank cells with the countifs function jaden0605 Excel 1 03-30-2014 01:50 AM

Other Forums: Access Forums

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