Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Porting Modules

I am using a VBA to spawn a spreadsheet as a subset from a larger database
and would like to port a pre-coded module from the main spreadsheet into the
new, spawned one. Does anyone know how I can copy modules wholesale using
VBA into a new spreadsheet?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Porting Modules

Have a look at this link...

http://www.cpearson.com/excel/vbe.htm
--
HTH...

Jim Thomlinson


"Mel Monroe" wrote:

I am using a VBA to spawn a spreadsheet as a subset from a larger database
and would like to port a pre-coded module from the main spreadsheet into the
new, spawned one. Does anyone know how I can copy modules wholesale using
VBA into a new spreadsheet?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Porting Modules

Apart from copying the module in - see http://www.cpearson.com/excel/vbe.htm

You might also consider creating a template file with the required code
already in it. Just open the template,drop your data in and save it with
the required name. This assumes you want the same code and structure each
time for different data sets.

--
Cheers
Nigel



"Mel Monroe" wrote in message
...
I am using a VBA to spawn a spreadsheet as a subset from a larger database
and would like to port a pre-coded module from the main spreadsheet into

the
new, spawned one. Does anyone know how I can copy modules wholesale using
VBA into a new spreadsheet?



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
Basic question - modules and class modules - what's the difference? Mark Stephens[_3_] Excel Programming 9 May 8th 05 11:48 AM
When to code in sheet or userform modules and when to use modules Tony James Excel Programming 1 December 16th 04 10:02 PM
VBA Script Porting alexm999[_87_] Excel Programming 2 September 14th 04 07:46 PM
Porting VBA Libraries MWE[_42_] Excel Programming 1 May 9th 04 11:51 PM
Porting 16-bit to 32-bit Sheela Excel Programming 2 September 8th 03 05:28 AM


All times are GMT +1. The time now is 07:34 AM.

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

About Us

"It's about Microsoft Excel"