Thread
:
Hiding AddIn Methods from Worksheet Functions But Exposing to VBA
View Single Post
#
2
Posted to microsoft.public.dotnet.framework.interop,microsoft.public.excel.programming
Ardus Petus
external usenet poster
Posts: 718
Hiding AddIn Methods from Worksheet Functions But Exposing to VBA
Either turn the Sub to Private,
or create a dummy argument that will keep it from being shown as executable.
HTH
--
AP
"Matthew Wieder" a écrit dans le
message de news:
...
Our Automation Add-In has some methods that return object types Excel not
fit
for Excel (one of the methods retunrs a custom collection for example).
Is
there some way to hide this method so the end user won't try and use it as
a
worksheet function, yet have it visible so that it can be used in VBA
where
such objects can be correctly used? As it is, it appears all public
methods
are visible in both VBA and Excel Sheet Functions.
Reply With Quote
Ardus Petus
View Public Profile
Find all posts by Ardus Petus