Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Copy selected macro(s) to a different workbook

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Copy selected macro(s) to a different workbook

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Copy selected macro(s) to a different workbook

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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Copy selected macro(s) to a different workbook

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

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Copy selected macro(s) to a different workbook

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
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
copy selected tabs from multiple workbooks to a new workbook chris Excel Worksheet Functions 0 July 12th 07 03:46 PM
Copy a selected Range to a Workbook Dooley[_2_] Excel Programming 3 June 23rd 07 09:16 PM
copy selected cells to new workbook? Chimanrao Excel Programming 6 October 23rd 05 06:33 PM
how can I duplicate or copy a workbook then divide selected cells. macros excel... duplication and calculat Excel Discussion (Misc queries) 1 November 29th 04 03:16 PM
Copy selected data to new workbook Pete[_8_] Excel Programming 3 July 19th 03 01:24 AM


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