electricpete
Technical User
This is sort of a followup to thread707-1604231
There is a group of interrelated functions in 101 bas files that I'd like to be able to access from vba periodically.
I am willing to insert all 101 files into modules in a spreadsheet project... once. But I don't want to have to do that every time I use them. And also I don't particularly like having 101 modules clutting up my project modules collection.
Can anyone advise how to proceed in order to make these functions/declarations readily available in any particular spreadsheet without a lot of setup (without inserting 101 modules)?
I thought an excel add-in would be ideal. So I inserted a group of those modules into a spreadsheet. Then I saved it as xla (add-in). Then I closed excel, opened a brand new spreadsheet, added my add-in from spreadsheet tools/add-ins menu. Then went to vba window, inserted a new module and created a test subroutine to try to access some of those functions and declarations. They are not recognized, even though they are declared as public in the add-in project. Apparently public declaration does not extend beyond project?
By the way, I have checked the FAQ's. I will be glad to post my add-in or provide further discussion if it's not clear what I have already tried to do.
There is a group of interrelated functions in 101 bas files that I'd like to be able to access from vba periodically.
I am willing to insert all 101 files into modules in a spreadsheet project... once. But I don't want to have to do that every time I use them. And also I don't particularly like having 101 modules clutting up my project modules collection.
Can anyone advise how to proceed in order to make these functions/declarations readily available in any particular spreadsheet without a lot of setup (without inserting 101 modules)?
I thought an excel add-in would be ideal. So I inserted a group of those modules into a spreadsheet. Then I saved it as xla (add-in). Then I closed excel, opened a brand new spreadsheet, added my add-in from spreadsheet tools/add-ins menu. Then went to vba window, inserted a new module and created a test subroutine to try to access some of those functions and declarations. They are not recognized, even though they are declared as public in the add-in project. Apparently public declaration does not extend beyond project?
By the way, I have checked the FAQ's. I will be glad to post my add-in or provide further discussion if it's not clear what I have already tried to do.