?
Solved

Disable error message in VBA

Posted on 2006-11-14
9
Medium Priority
?
1,788 Views
Last Modified: 2008-01-16
I can never remember how to turn off the error messages in VBA while typing.  I know there is a setting that will let the text become red but not pop up the error message.  Can somebody help me find it?

Thanks in advance.
0
Comment
Question by:UniqueData
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 27

Expert Comment

by:MikeToole
ID: 17940268
Tools-Options Editor Tab,  uncheck Auto Syntx Check
0
 
LVL 44

Accepted Solution

by:
Leigh Purvis earned 200 total points
ID: 17940283
From a VBE window  Tools>Options>Auto Syntax Check.

It is 100% invaluable.  Completely necessary and I would not be sane without it.
0
 
LVL 7

Author Comment

by:UniqueData
ID: 17940910
Thanks again for your answer.  You have once again come to my aid.  

I like to copy and paste alot and sometimes I leave a line of code to grab another piece of code (variable names, etc).  I never like getting that error message because I know I am coming back to the line to finish it.  

I find it enough to keep the text colored red, but I can see your point too.  Wouldn't a compile point out any of the same errors that "Auto Syntax Check" will find?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 77

Expert Comment

by:peter57r
ID: 17940930
For some of us, short term memory is a problem....red lines help in that case(:-)

Well...when I say 'some of us'.......
0
 
LVL 44

Expert Comment

by:Leigh Purvis
ID: 17941185
The points should go to Mike really - he was first
Well, as I said - I HATE the compile error messge box from auto syntax check.  The highlighted text is indeed ample and yes - a compile would highlight the same issues.
I would literally be a gibbering wreck by this stage of my life if every time I'd left a line of partial code I got that ******* message.

Fortunately my short term memory isn't as bad as Pete's. :-)

Oh and the points should go to Mike really - he was first.
Have I mentioned that I hate the auto syntax check?
0
 
LVL 27

Expert Comment

by:MikeToole
ID: 17942611
Leigh,
Thanks, but I did have the spelling mistake: Syntx   ;¬}
Cheers,
Mike
0
 
LVL 44

Expert Comment

by:Leigh Purvis
ID: 17942735
Oh man... that stynx.  :-)

Have I mentioned that I hate the auto syntax check?
0
 
LVL 7

Author Comment

by:UniqueData
ID: 17958856
Sorry about that Mike,

For some reason I didn't see your answer....odd.  Is there anyway I can re-apply them?
0
 
LVL 27

Expert Comment

by:MikeToole
ID: 17961192
No worries, life goes on!
Did he mention that he hates the auto syntax check?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question