I have several 'common' modules that I use containing common functions, and I'd prefer to keep only a single version for ease of configuration management
I'd like to be able to include these modules both in 'application' workbooks as an Option Private Module, but also have them in my PESONAL.XLSM as NOT Option Private Module to expose the subs etc.
My idea was to set PERSONAL=1 as a conditional compile on my PERSONAL.XLSM, but not on 'application' workbooks, and 'bypass' the Option Private Module
I tried the obvious, but didn't work
Is it possible?
Am I missing something obvious?
Is there another way?
Capture.JPGOption Explicit #If Not PERSONAL = 1 Then Option Private Module #End If Sub Hello() MsgBox "Hello World!!!" End Sub