PC Review


Reply
Thread Tools Rate Thread

Copying Userform with Controls OR complete application.

 
 
=?Utf-8?B?QXJpZiBBbGk=?=
Guest
Posts: n/a
 
      6th Sep 2006
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 With Quote
 
 
 
 
=?Utf-8?B?SkxHV2hpeg==?=
Guest
Posts: n/a
 
      6th Sep 2006
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 Start>Programs>Accessories>Windows 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 With Quote
 
=?Utf-8?B?QXJpZiBBbGk=?=
Guest
Posts: n/a
 
      6th Sep 2006
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 Start>Programs>Accessories>Windows 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Userform question (selecting name will self complete fields) Darren Ingram Microsoft Word Document Management 1 23rd Apr 2008 12:46 PM
Verify Userform complete before close =?Utf-8?B?UGF1bCBELg==?= Microsoft Excel Programming 10 21st Oct 2007 03:33 PM
Copying Userform =?Utf-8?B?TWFyY2lhMzY0MQ==?= Microsoft Excel Misc 3 21st Jul 2005 08:53 PM
Userform Controls Nigel Microsoft Excel Programming 5 30th Dec 2004 01:49 PM
Help please with UserForm controls sa3214 Microsoft Excel Programming 4 2nd Jul 2004 03:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:30 AM.