Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2018, 04:58 PM
nbuckwheat nbuckwheat is offline IF Statement in Word Windows 8 IF Statement in Word Office 2010 64bit
Novice
IF Statement in Word
 
Join Date: Feb 2018
Posts: 9
nbuckwheat is on a distinguished road
Default

Yes Macropod, I did read your answer; however, I don't believe you read my question . . . I understood what the previous responses were instructing, what I was saying prior to your last response was that no matter what I did . . . the verbiage MERGEFIELD would not appear when I inserted the field into the formula. It only appeared in my result below after I toggled back and forth twice after inserting the field.


For anyone else please that can help with my formula below, I would appreciate it . . .
This is my formula:


{IF{MERGEFIELD Request_Staff_Person}= "Mickey Mouse" "Minnie Mouse"}

This is the result: Mickey Mouse Minnie Mouse. . . instead of replacing Mickey Mouse with Minnie Mouse it is adding it to the same line. I need to replace the original name with the new . . . not add to it.

Many thanks in advance.
Reply With Quote
  #2  
Old 02-24-2018, 11:39 PM
macropod's Avatar
macropod macropod is offline IF Statement in Word Windows 7 64bit IF Statement in Word Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
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 nbuckwheat View Post
YI need to replace the original name with the new . . . not add to it.
Which is precisely what the field coding Graham and I posted does - but only when implemented as described!
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
IF Statement in Word IF statement in Word VBA BristolJGM Word VBA 2 09-16-2017 06:02 AM
and if statement in word mailmerge sbye Mail Merge 17 08-25-2017 09:59 PM
VBA Word - Find & Apply Styles to Specific Words - Using Case Statement jc491 Word VBA 17 12-26-2015 12:25 PM
IF Statement in Word Microsoft Word IF statement issues micro44 Word 4 10-23-2014 12:10 PM
Help with IF statement in word 2010 Mad Word 2 04-06-2013 06:31 AM

Other Forums: Access Forums

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