Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 105
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default 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.



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default 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.
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
where can I see my question and answer? Yesterday I ask a question IP Excel Discussion (Misc queries) 2 May 10th 08 04:08 PM
sum question Rebecca1 Excel Worksheet Functions 2 July 25th 07 09:18 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"