Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-21-2019, 09:56 AM
ckerber ckerber is offline Nested IF statements not working Windows 10 Nested IF statements not working Office 2019
Novice
Nested IF statements not working
 
Join Date: Aug 2019
Posts: 2
ckerber is on a distinguished road
Default Nested IF statements not working

This worked in a previous document (from last year), but when I used the same doc with a new list (same fields), I got the "Error! Unknown op code for conditional" message. I've checked for missing & extra spaces, etc. but can't figure out what's going wrong.

I can't seem to paste here, so attaching a doc that shows the code.
Attached Files
File Type: docx code.docx (14.8 KB, 9 views)
Reply With Quote
  #2  
Old 08-21-2019, 03:59 PM
macropod's Avatar
macropod macropod is offline Nested IF statements not working Windows 7 64bit Nested IF statements not working Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

Your field codes work fine for me. They are way over-engineered, though. See attached.
Attached Files
File Type: docx mailmerge code.docx (16.7 KB, 11 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 08-22-2019, 06:54 AM
ckerber ckerber is offline Nested IF statements not working Windows 10 Nested IF statements not working Office 2019
Novice
Nested IF statements not working
 
Join Date: Aug 2019
Posts: 2
ckerber is on a distinguished road
Default

Thanks--how so? Maybe if I can simplify, they'll work for me & be easier to re-use.
Reply With Quote
  #4  
Old 08-22-2019, 03:18 PM
macropod's Avatar
macropod macropod is offline Nested IF statements not working Windows 7 64bit Nested IF statements not working Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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 might at least look in the attachment I supplied...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with nested If statements Aliwoods Excel 7 07-16-2018 06:18 AM
Nested IF statements not working Conditional checkbox mailmerge: coding "or" statements within IF statements mtracy16 Mail Merge 3 05-22-2018 02:03 PM
Nested IF statements not working Nested If Statements in Formula Field to Produce the Diffrnc in Years Between Today's & Entered Date mshu31 Word 1 02-09-2017 02:04 PM
Nested IF statements not working Help with if then statements brent chadwick Word VBA 35 07-25-2015 02:41 PM
Nested IF statements not working Using IF statements stuwoolf Excel 2 01-10-2015 01:58 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:11 PM.


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