Programmatically switch off "Variable declaration reqiured" in VBE
The effect of that setting is to wtite this line in any new modul or class:
Options Explicit
If you delete this line, you will not have to declare your variables.
"Alan" wrote:
Hi All,
Is there a way to programmatically switch off the 'Variable
Declaration Required' option in the VBE (VBE - Tools - Options -
Editor - Require Variable Declaration)?
I am using Excel 2000 - fully patched.
Thanks in advance,
Alan.
|