ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Way to change or update the macro (https://www.excelbanter.com/excel-programming/395512-way-change-update-macro.html)

Christian.Xu

Way to change or update the macro
 
Used Excel2003 to build a tool which will have interaction with the server,
but will have regular update to the macro which is build in the workbook.
Is there anyway I can update the macro in that wookbook only without
changing the excel formatting etc..?

Thanks!

Dave Peterson

Way to change or update the macro
 
Depending on the security setting that each user has chosen (and it's the user's
security setting--not something you can change), you may be able to use Chip
Pearson's notes he

http://cpearson.com/excel/vbe.htm

If it's not too late, you may want to move as much code from the individual
workbooks and create an addin--separating the VBA code from the data as much as
you can.

Then if the macros have to change, you update the addin and redistribute that.



Christian.Xu wrote:

Used Excel2003 to build a tool which will have interaction with the server,
but will have regular update to the macro which is build in the workbook.
Is there anyway I can update the macro in that wookbook only without
changing the excel formatting etc..?

Thanks!


--

Dave Peterson


All times are GMT +1. The time now is 12:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com