Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Copying Userform with Controls OR complete application.

I have written an application that automates an excel based pricelist. It
includes:
- A quoteform and orderform that are sheets added to the basic pricelist
workbook
- code that is Located in the code module associated with each worksheet.
- 5 userforms

In order to complete the project I need to be able to copy the code and
userforms to a new pricelist spreadsheet when released:

1. The easiest way seems to be if I is just to copy the code modules using
an export/import procedure. THis has partially worked except
a. the controls on the userforms are not getting copied
b. I am getting an error whenever the module type is type 100, a document
Any ideas about this?

2. Is there a better way to copy an application? Like an add-in or something
else?
The only reason I am using the code modules behind each worksheet is to
take advantage of the doubleclick event from the worksheet. Is there a way
to relocate the doubleclick events from several modules to separate module,
instead of keeping it in the individual spreadsheets?

2a. Can I bundle the Userforms and the "universal" code module of question 2
into a single add-in?

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Copying Userform with Controls OR complete application.

You can copy the file to a new folder then rename the file to the new
official name.

To copy a file or folder
Open Windows Explorer StartProgramsAccessoriesWindows Explorer [Click]
Create a new folder and name it.
Click the file or folder you want to copy. Under the Edit menu, select Copy
to Folder and click. Select the new folder you want to copy to and click.



"Arif Ali" wrote:

I have written an application that automates an excel based pricelist. It
includes:
- A quoteform and orderform that are sheets added to the basic pricelist
workbook
- code that is Located in the code module associated with each worksheet.
- 5 userforms

In order to complete the project I need to be able to copy the code and
userforms to a new pricelist spreadsheet when released:

1. The easiest way seems to be if I is just to copy the code modules using
an export/import procedure. THis has partially worked except
a. the controls on the userforms are not getting copied
b. I am getting an error whenever the module type is type 100, a document
Any ideas about this?

2. Is there a better way to copy an application? Like an add-in or something
else?
The only reason I am using the code modules behind each worksheet is to
take advantage of the doubleclick event from the worksheet. Is there a way
to relocate the doubleclick events from several modules to separate module,
instead of keeping it in the individual spreadsheets?

2a. Can I bundle the Userforms and the "universal" code module of question 2
into a single add-in?

Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Copying Userform with Controls OR complete application.

I dont think I expressed myself properly. The desire is to copy the code
modules to a workbook which doesnt have the code in it.

"JLGWhiz" wrote:

You can copy the file to a new folder then rename the file to the new
official name.

To copy a file or folder
Open Windows Explorer StartProgramsAccessoriesWindows Explorer [Click]
Create a new folder and name it.
Click the file or folder you want to copy. Under the Edit menu, select Copy
to Folder and click. Select the new folder you want to copy to and click.



"Arif Ali" wrote:

I have written an application that automates an excel based pricelist. It
includes:
- A quoteform and orderform that are sheets added to the basic pricelist
workbook
- code that is Located in the code module associated with each worksheet.
- 5 userforms

In order to complete the project I need to be able to copy the code and
userforms to a new pricelist spreadsheet when released:

1. The easiest way seems to be if I is just to copy the code modules using
an export/import procedure. THis has partially worked except
a. the controls on the userforms are not getting copied
b. I am getting an error whenever the module type is type 100, a document
Any ideas about this?

2. Is there a better way to copy an application? Like an add-in or something
else?
The only reason I am using the code modules behind each worksheet is to
take advantage of the doubleclick event from the worksheet. Is there a way
to relocate the doubleclick events from several modules to separate module,
instead of keeping it in the individual spreadsheets?

2a. Can I bundle the Userforms and the "universal" code module of question 2
into a single add-in?

Thanks,

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
userform controls natanz[_2_] Excel Programming 3 November 2nd 05 02:38 PM
Microsoft Excel is waiting for another application to complete an OLE action Glen Davis Jr. Excel Discussion (Misc queries) 0 May 4th 05 04:10 PM
Microsoft Office Excel is waiting for another application to complete an OLE action Mircea Pleteriu Excel Programming 7 March 11th 05 07:53 PM
This application is about to initialize controls that might be unsafe. ... [email protected] Excel Programming 2 March 10th 05 04:21 AM


All times are GMT +1. The time now is 08:50 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"