vba - Scoped to be visible to any module but not outside the VBAProject -
I have these functions:
function funcX () integer funcX = 2 end function Func funkY = 3 end function as funnier () function as a function in
In a separate workbook, I can run the following to reach both of the above:
I How can I create a function that has been scotched, its car Is available in all modules of the manual, but it is not available outside of the workbook?
To make routine routine in private modules for regular VBA projects, make them public Announce and add statement:
option private module
module header.
Look for other ideas for controlling the visibility of the VBA routine.
Comments
Post a Comment