[RESOLVED] Some Explanation about Option Explicit
i don't want to type option explicit is the code window at every time .i simple want it should be there at each form.can anyone tell me the way.Kindly let me know the idea.Any help would be highly appreciated.i have seen in another
computer when i double click at the form we see option explicit there.but in my case i always type.Kindly let me know the idea.
Re: Some Explanation about Option Explicit
Quote:
Originally Posted by
firoz.raj
i don't want to type option explicit is the code window at every time .i simple want it should be there at each form.can anyone tell me the way.Kindly let me know the idea.Any help would be highly appreciated.i have seen in another
computer when i double click at the form we see option explicit there.but in my case i always type.Kindly let me know the idea.
Steps to setting option explicit are
1. from Tools menu select options
2. on the Editor tab make sure that Require Variable Declaration is selected
3. click the OK button
when you turn on this it will add automatically option explicit to all new forms but not to any existing forms
Re: Some Explanation about Option Explicit