Hi guys,
I have a question on how I would create a macro to install code in another workbook.
Essentially I want to do two things: Copy (or install) a module with code into a selected workbook, and also modify an existing part of a macro in the selected workbook. The process flow would be similar to the below:
- User is presented with a list of all open workbooks and clicks desired workbook they want to install additional code into
- Macro automatically copies a module from the current workbook to the selected workbook
- User is then presented with a list of all macros in the selected workbook and clicks the desired macro to install this code in.
- Once selected, macro looks for a specific line of code in that subroutine, eg TO:, and replaces it with a predefined value.
I am getting better at VBA, but unfortunately this is over my head. I know some of it is possible from what I've read, and would love an expert to take a look at tell me if it's possible. Any help would be much appreciated.
Many thanks,
fullysic
Bookmarks