Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to replace another macro
Is there a way to replace an existing (protected) macro-project from a sheet
by a new macro, using another macro? The idea is to replace a macro from a sheet that is used on a remote computer. I would like to send the user a sheet with macro that can replace the old macro by a new one. Thanks in advance Jan Bart |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to replace another macro
Hi Jan,
See Chip Pearson's page on programming to the VBE at: http://www.cpearson.com/excel/vbe.htm However, I think that the use of the techniques described by Chip would require that the project be unprotected. --- Regards, Norman "Excelerate-nl" wrote in message ... Is there a way to replace an existing (protected) macro-project from a sheet by a new macro, using another macro? The idea is to replace a macro from a sheet that is used on a remote computer. I would like to send the user a sheet with macro that can replace the old macro by a new one. Thanks in advance Jan Bart |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to replace another macro
Unprotect a VBA project in code is flaky, it requires Sendkeys. Not good.
-- HTH Bob Phillips (remove nothere from email address if mailing direct) "Excelerate-nl" wrote in message ... Is there a way to replace an existing (protected) macro-project from a sheet by a new macro, using another macro? The idea is to replace a macro from a sheet that is used on a remote computer. I would like to send the user a sheet with macro that can replace the old macro by a new one. Thanks in advance Jan Bart |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
macro - replace | New Users to Excel | |||
macro to replace | Excel Discussion (Misc queries) | |||
Macro-replace | Excel Discussion (Misc queries) | |||
can I replace all with a macro? | Excel Programming | |||
Macro to replace * with / | Excel Programming |