Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2013, 03:23 PM
moggymiaow moggymiaow is offline Can you set -break on all errors in code Windows XP Can you set -break on all errors in code Office 2007
Novice
Can you set -break on all errors in code
 
Join Date: Sep 2013
Posts: 10
moggymiaow is on a distinguished road
Default Can you set -break on all errors in code

I have searched the net and I find various reference toSetOption "Error Trapping", 2or application.SetOption "Error Trapping", 2however if I attempt to use this I get a compile error. SetOption is also not listed as option after typing application.I am using word 2007, however it has to be suitable for word 2002
Reply With Quote
  #2  
Old 10-10-2013, 03:56 PM
fumei fumei is offline Can you set -break on all errors in code Windows 7 64bit Can you set -break on all errors in code Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

SetOption "Error Trapping" is for Access only AFAIK. As you have found it does not appear to show up as a valid property in Word.
Reply With Quote
  #3  
Old 10-10-2013, 03:57 PM
moggymiaow moggymiaow is offline Can you set -break on all errors in code Windows XP Can you set -break on all errors in code Office 2007
Novice
Can you set -break on all errors in code
 
Join Date: Sep 2013
Posts: 10
moggymiaow is on a distinguished road
Default

Is there an alternative then?
Reply With Quote
  #4  
Old 10-10-2013, 04:00 PM
fumei fumei is offline Can you set -break on all errors in code Windows 7 64bit Can you set -break on all errors in code Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Sure, you can set "Break on all errors" with options in the VBE. You just can not do it programmatically.
Reply With Quote
  #5  
Old 10-10-2013, 04:01 PM
moggymiaow moggymiaow is offline Can you set -break on all errors in code Windows XP Can you set -break on all errors in code Office 2007
Novice
Can you set -break on all errors in code
 
Join Date: Sep 2013
Posts: 10
moggymiaow is on a distinguished road
Default

I know I can do that, but I was hoping for something in vba
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you set -break on all errors in code Section Break (Next Page) replaces Section Break (Continuous) when deleted Carlabasson Word 2 03-25-2013 10:13 PM
Errors in Outlook.pst Rik_StHelens Outlook 0 12-20-2010 09:40 AM
paragaph hard break, soft break and ...strange break czomberzdaniela Word 2 12-03-2010 06:58 PM
Can you set -break on all errors in code Encryption XOR - any errors??? Word Doc Word 1 10-08-2009 12:57 AM
How do you fix ost in use errors? enviroko Outlook 0 10-23-2008 09:49 AM

Other Forums: Access Forums

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