Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default code trying to run while typing

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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default code trying to run while typing

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
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?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 236
Default code trying to run while typing

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?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default code trying to run while typing

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" wrote in message
...
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?




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default code trying to run while typing

switch off any real time feeds

"froggy" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CODE FOR (DURING TYPING IN CELL RUN MACRO) code for running macro during edit cell Excel Worksheet Functions 1 June 12th 08 09:22 PM
I am new to VBE. How can I create a for loop without typing it intothe code. [email protected] Excel Programming 3 March 14th 08 04:01 PM
Help with code for selecting pivot table field by typing in a cell Josh Johansen Excel Programming 2 June 20th 07 12:58 PM
Can I auto fill a cell in one worksheet by typing a code number Gomer Pyle Excel Worksheet Functions 1 August 27th 05 01:24 AM
Excel hard code those #'s without deleting the formula or typing# JudiS Excel Discussion (Misc queries) 1 August 1st 05 11:21 PM


All times are GMT +1. The time now is 12:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"