PC Review


Reply
Thread Tools Rate Thread

code trying to run while typing

 
 
froggy
Guest
Posts: n/a
 
      2nd Jun 2009
While I am typing code in the Visual Basic Editor, the macro trys to run. I
will be in the middle of a line and suddenly I get an error.

How can I stop this from happening?
 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      2nd Jun 2009
What type of error and are you sure the macro is actually trying to run?

Could be it is Excel flagging bad syntax?


Gord Dibben MS Excel MVP

On Tue, 2 Jun 2009 09:25:02 -0700, froggy <(E-Mail Removed)>
wrote:

>While I am typing code in the Visual Basic Editor, the macro trys to run. I
>will be in the middle of a line and suddenly I get an error.
>
>How can I stop this from happening?


 
Reply With Quote
 
Gary Brown
Guest
Posts: n/a
 
      2nd Jun 2009
While in the VB Editor, from the top menu, select TOOLS, OPTIONS.
Go to the 'Editor' tab.
Uncheck the 'Auto Syntax check' checkbox
--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"froggy" wrote:

> While I am typing code in the Visual Basic Editor, the macro trys to run. I
> will be in the middle of a line and suddenly I get an error.
>
> How can I stop this from happening?

 
Reply With Quote
 
Tim Zych
Guest
Posts: n/a
 
      2nd Jun 2009
Another guess (hard to tell based on your description). If you are using
Bloomberg's Excel addin or other addin which is running in
the background, this may be why. If so, disable it while you write code, as
it messes up the development environment and leads to compilation errors.

--
Regards,
Tim Zych
http://www.higherdata.com
Workbook Compare - Excel data comparison utility

"froggy" <(E-Mail Removed)> wrote in message
news:5E6903DC-8CAB-4452-9D11-(E-Mail Removed)...
> While I am typing code in the Visual Basic Editor, the macro trys to run.
> I
> will be in the middle of a line and suddenly I get an error.
>
> How can I stop this from happening?




 
Reply With Quote
 
Patrick Molloy
Guest
Posts: n/a
 
      2nd Jun 2009
switch off any real time feeds

"froggy" <(E-Mail Removed)> wrote in message
news:5E6903DC-8CAB-4452-9D11-(E-Mail Removed)...
> While I am typing code in the Visual Basic Editor, the macro trys to run.
> I
> will be in the middle of a line and suddenly I get an error.
>
> How can I stop this from happening?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CODE FOR (DURING TYPING IN CELL RUN MACRO) code for running macro during edit cell Microsoft Excel Worksheet Functions 1 12th Jun 2008 09:22 PM
VB.NET Automatic code typing features NickP Microsoft VB .NET 8 17th Mar 2006 09:45 AM
Access 2K Crashes When typing Code MAB Microsoft Access Form Coding 0 27th Jul 2004 07:42 PM
Trouble typing code rp Microsoft Access Form Coding 2 9th Jun 2004 04:43 AM
How can I update all data in a form by typing a zip code in the zip code field Kevin Microsoft Access Forms 1 22nd Aug 2003 10:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:27 AM.