![]() |
VBE Question
When I'm in VBE is there a way to script the copying of Moduals and Classes
from one project to another. I keep a base project that I enhance, and one in production;the production file contains data which is augmented each month.. When I've tested out the changes I move the Moduals/Classes/Forms to the production file. |
VBE Question
Of course there is :-). Chip explains it all at
http://www.cpearson.com/excel/vbe.htm -- HTH RP (remove nothere from the email address if mailing direct) "Helen" wrote in message ... When I'm in VBE is there a way to script the copying of Moduals and Classes from one project to another. I keep a base project that I enhance, and one in production;the production file contains data which is augmented each month.. When I've tested out the changes I move the Moduals/Classes/Forms to the production file. |
VBE Question
hi,
yes. Open the VB editor in your base project. on the right, right click the module you wish to transfer. click export. this will create a text file with a .bas extention. remember where you exported it to. then in your production file, open the vb editor. right click the project name then click import. a dialog box will apear. select the module you wish to import, click ok. this works for modules, forms, ect. regards HDR -----Original Message----- When I'm in VBE is there a way to script the copying of Moduals and Classes from one project to another. I keep a base project that I enhance, and one in production;the production file contains data which is augmented each month.. When I've tested out the changes I move the Moduals/Classes/Forms to the production file. . |
All times are GMT +1. The time now is 10:05 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com