I have create an Excel Add-In. In that add-in are some modules and let's say module1 is one them. In module1 I have a sub declared as public sub abc() end sub
In my workbook I want to be able to use the function abc defined in the add in. It doesn't seem to work!
E.g. I install the Addin so that now it appears in the VBAProject sections. I create a sub in my main workbook (this is not the add-in workbook) and 开发者_StackOverflow中文版have a sub called def says
sub def()
  call abc
end sub
sub def1()
  call module1.abc
end sub
Neither of these work. Please help.
You have to make sure the Add-in has a project name, then reference it through the Tools > References dialog. See this link for more details.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论