mlohmac
MIS
- Oct 28, 2002
- 10
Hello,
I have a question for you Excel VBA programmers out there. I have recently written a small application that fills down columns based on various criteria. The application is packaged as an Add-in for easy distribution. The users of this Add-in will be using its functionality with various *.xls files.
Since there will be many different *.xls files used with the add-in I don't think it is possible for me to place code in the "Worksheet_Activate" event associated with the worksheets. (Since this is not saved with teh Add-in) However, I do want to execute some code in an open UserForm whenever the user activates a different worksheet.
Does anyone have any idea how to do this? Where should I place my code to take advantage of this event? Do I need to dynamically create links from the worksheets to objects I can manipulate in code? Help!
-Thanks
Cameron Holm
I have a question for you Excel VBA programmers out there. I have recently written a small application that fills down columns based on various criteria. The application is packaged as an Add-in for easy distribution. The users of this Add-in will be using its functionality with various *.xls files.
Since there will be many different *.xls files used with the add-in I don't think it is possible for me to place code in the "Worksheet_Activate" event associated with the worksheets. (Since this is not saved with teh Add-in) However, I do want to execute some code in an open UserForm whenever the user activates a different worksheet.
Does anyone have any idea how to do this? Where should I place my code to take advantage of this event? Do I need to dynamically create links from the worksheets to objects I can manipulate in code? Help!
-Thanks
Cameron Holm