View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
[email protected] deasmhuin...@gmail.com is offline
external usenet poster
 
Posts: 3
Default Identifying PERSONAL.XLSB macros

On Sunday, October 25, 2020 at 12:31:39 PM UTC-4, Peter T wrote:
" wrote in message
In my development environment, I make extensive use of a self developed
library of useful macros (function or subroutine) that I maintain in
PERSONAL.XLSB.

Is there any way I can get VBA to examine an application's code base and
provide me with a list of PERSONAL.XLSB macros being called.

This is motivated by a problem I am anticipating in publishing a VBA
application as an AddIn. I assume all PERSONAL.XLSB's macros being
called by the application would have to be explicitly added to the AddIn
code base.

What do you mean by "with a list of the macros being called". For example a
list of all Sub's in Personal.xlsb, or the routines called in personal
called by your adddin, or something else...?

Peter T

My AddIn application will consist of a number of VBA procedures (function or subroutine). These may contain calls to another set of VBA procedures that reside in my PERSONAL.XLSB. And these directly called PERSONAL.XLSB procedures may also be calling other PERSONAL.XLSB procedures. Since my AddIn application will need to run on machines that do not have access to my PERSONAL.XLSB, the AddIn codebase will have to contain all the VBA code that may be called during application execution. That is why I am developing an application to identify the set of PERSONAL.XLSB procedures being used and copying them into a new module of my AddIn.