Skip to main content

The new version of 10.1 seems to be incorrectly forcing "Option Explicit" -- VBA --

  • July 25, 2022
  • 1 reply
  • 1 view

Hello, 

Something in version 10.1 is forcing option explicit in VBA. 

*I do not have "Require Variable Declaration" checked
*I do not have "Option Explicit" at the top of any modules.  and more that 2 so far have run into this same issue. 

Thanks!
Michael

------------------------------
Michael Hlusak
Quality Anaylist
United States Postal Service
Washington DC US
------------------------------

1 reply

  • Rocketeer
  • July 26, 2022
Hello, 

Something in version 10.1 is forcing option explicit in VBA. 

*I do not have "Require Variable Declaration" checked
*I do not have "Option Explicit" at the top of any modules.  and more that 2 so far have run into this same issue. 

Thanks!
Michael

------------------------------
Michael Hlusak
Quality Anaylist
United States Postal Service
Washington DC US
------------------------------
Michael,

I tried reproducing your error with RTE 10.1.3 without success. When "Require Variable Declaration" is checked it only adds "Option Explicit" when creating new modules, it doesn't affect existing modules. Could you attach a screenshot of the source line throwing the error? Maybe another set of eyes might help. If I don't see anything obvious I suggest you create a support case so they could review your .bvp file.

Mike

------------------------------
Mike Jones
Rocket Internal - All Brands
------------------------------