Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2014, 02:34 PM
macropod's Avatar
macropod macropod is offline Error handling in formula - suppress 'Syntax Error' Windows 7 32bit Error handling in formula - suppress 'Syntax Error' 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

Try:


{IF{PAGEREF FirstSectionBreak}= "Error!*" 0 {={NUMPAGES}-{PAGEREF FirstSectionBreak}}}
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 02-21-2014, 02:50 PM
Cosmo Cosmo is offline Error handling in formula - suppress 'Syntax Error' Windows Vista Error handling in formula - suppress 'Syntax Error' Office 2007
Competent Performer
Error handling in formula - suppress 'Syntax Error'
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Try:
{IF{PAGEREF FirstSectionBreak}= "Error!*" 0 {={NUMPAGES}-{PAGEREF FirstSectionBreak}}}
Thanks, I didn't quite have luck with that just yet, not sure if I am entering it correctly or not. I'm a bit of a novice using the fields & formulas in word, and I haven't qute gotten the hang of it yet.

This has just become an academic exercise for me; after spending a couple hours or so getting the parts that I have working, they just decided to remove the calculations I spent so much time working on.
Reply With Quote
  #3  
Old 02-24-2014, 07:08 AM
Cosmo Cosmo is offline Error handling in formula - suppress 'Syntax Error' Windows Vista Error handling in formula - suppress 'Syntax Error' Office 2007
Competent Performer
Error handling in formula - suppress 'Syntax Error'
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Try:
{IF{PAGEREF FirstSectionBreak}= "Error!*" 0 {={NUMPAGES}-{PAGEREF FirstSectionBreak}}}
Thanks, I was able to finally get it working. I had to spend a few minutes working on just 'If' statement, got that working correctly, then rebuilt each part of the field one at a time.

Much appreciated!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using multiple formulas in one (IF, AND and SUM) gives syntax error markdeniet Word 1 02-05-2014 05:17 AM
Error handling in formula - suppress 'Syntax Error' Automation error Unknown error" message once they open the Excel file hlina Excel 1 10-08-2013 09:14 PM
Error handling in formula - suppress 'Syntax Error' VLookup is giving me #N/A error, help with data or formula? ladygogo78 Excel 3 10-22-2012 12:28 AM
Error handling in formula - suppress 'Syntax Error' formula divide by serio error vthomeschoolmom Excel 1 04-18-2012 02:29 PM
Error handling in formula - suppress 'Syntax Error' Saveas error handling jillapass Word VBA 7 03-30-2012 03:24 PM

Other Forums: Access Forums

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