Solved

Disable error message in VBA

Posted on 2006-11-14
9
1,776 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 50 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

739 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