PC Review


Reply
Thread Tools Rate Thread

Copy selected macro(s) to a different workbook

 
 
Cresta
Guest
Posts: n/a
 
      1st Aug 2008
Hello

I know that a whole module can be exported/imported into a different
workbook, but is it possible to select macros from a module and copy them to
a different workbook.

Thanks

 
Reply With Quote
 
 
 
 
FSt1
Guest
Posts: n/a
 
      1st Aug 2008
hi
yes. high light all or any part of the code then copy. in this respect,
it's not unlike coping and pasting in notepad. just be carefull where you
paste.

Regards
FSt1

"Cresta" wrote:

> Hello
>
> I know that a whole module can be exported/imported into a different
> workbook, but is it possible to select macros from a module and copy them to
> a different workbook.
>
> Thanks
>

 
Reply With Quote
 
Cresta
Guest
Posts: n/a
 
      1st Aug 2008
Sorry I should have been a bit more specific. The copying is to be done by a
macro.

"FSt1" wrote:

> hi
> yes. high light all or any part of the code then copy. in this respect,
> it's not unlike coping and pasting in notepad. just be carefull where you
> paste.
>
> Regards
> FSt1
>
> "Cresta" wrote:
>
> > Hello
> >
> > I know that a whole module can be exported/imported into a different
> > workbook, but is it possible to select macros from a module and copy them to
> > a different workbook.
> >
> > Thanks
> >

 
Reply With Quote
 
FSt1
Guest
Posts: n/a
 
      1st Aug 2008
hi
opps.
see this site
http://cpearson.com/excel/vbe.aspx

regards
FSt1

"Cresta" wrote:

> Sorry I should have been a bit more specific. The copying is to be done by a
> macro.
>
> "FSt1" wrote:
>
> > hi
> > yes. high light all or any part of the code then copy. in this respect,
> > it's not unlike coping and pasting in notepad. just be carefull where you
> > paste.
> >
> > Regards
> > FSt1
> >
> > "Cresta" wrote:
> >
> > > Hello
> > >
> > > I know that a whole module can be exported/imported into a different
> > > workbook, but is it possible to select macros from a module and copy them to
> > > a different workbook.
> > >
> > > Thanks
> > >

 
Reply With Quote
 
Cresta
Guest
Posts: n/a
 
      4th Aug 2008
Thanks FSt1, that looks like it will do the trick.

"FSt1" wrote:

> hi
> opps.
> see this site
> http://cpearson.com/excel/vbe.aspx
>
> regards
> FSt1
>
> "Cresta" wrote:
>
> > Sorry I should have been a bit more specific. The copying is to be done by a
> > macro.
> >
> > "FSt1" wrote:
> >
> > > hi
> > > yes. high light all or any part of the code then copy. in this respect,
> > > it's not unlike coping and pasting in notepad. just be carefull where you
> > > paste.
> > >
> > > Regards
> > > FSt1
> > >
> > > "Cresta" wrote:
> > >
> > > > Hello
> > > >
> > > > I know that a whole module can be exported/imported into a different
> > > > workbook, but is it possible to select macros from a module and copy them to
> > > > a different workbook.
> > > >
> > > > 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
Copy Selected Sheets' Data On New Workbook! Faraz A. Qureshi Microsoft Excel Programming 0 15th Dec 2009 12:27 PM
Copy contents to a selected sheet in another workbook Razorboy Microsoft Excel Programming 1 4th Nov 2008 06:50 PM
Copy a selected Range to a Workbook Dooley Microsoft Excel Programming 3 23rd Jun 2007 09:16 PM
copy selected cells to new workbook? Chimanrao Microsoft Excel Programming 6 23rd Oct 2005 06:33 PM
Copy selected data to new workbook Pete Microsoft Excel Programming 3 19th Jul 2003 01:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:49 PM.