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?