ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Using multiple XLTs (https://www.excelbanter.com/excel-programming/345382-using-multiple-xlts.html)

[email protected]

Using multiple XLTs
 
I have a series of macros that clean up about 20 different report files
stored in spreadsheets. All the code is currently stored in one XLT.
I'd like to be able to store the code for each report in its own XLT
with the common code in another XLT (21 XLTs in total) so that mutiple
developers could modify individual report code w/o stepping on one
another.

Is it possible to invoke code in one XLT from another XLT?

Thanks

Carl


Tom Ogilvy

Using multiple XLTs
 
Yes, using

Application.Run

--
Regards,
Tom Ogilvy


wrote in message
ups.com...
I have a series of macros that clean up about 20 different report files
stored in spreadsheets. All the code is currently stored in one XLT.
I'd like to be able to store the code for each report in its own XLT
with the common code in another XLT (21 XLTs in total) so that mutiple
developers could modify individual report code w/o stepping on one
another.

Is it possible to invoke code in one XLT from another XLT?

Thanks

Carl




SetonSoftware

Using multiple XLTs
 
Tom

Thanks for the feedback. Are there any memory or other resource issues
I should consider before doing this? I need to start the macro running
and then invoke macros in other XLTs from within a loop. Each report
averages about 500 lines of macro code and they'll need to invoke the
common routines in another XLT many times over.

Thanks

Carl



All times are GMT +1. The time now is 05:45 PM.

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