ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Combining Macros (https://www.excelbanter.com/excel-programming/380395-re-combining-macros.html)

Bill Kuunders

Combining Macros
 
Just insert the name of the second macro into your first macro at a spot
where you want it to work.
Just the name, nothing else.

Greetings from New Zealand

"Dave" wrote in message
...
Is there a way to combine certain macros into one?

I have a macro that opens a workbook, selects information from two
different
sheets and pastes that information into another workbook. The problem I
am
having is that my macro (for some reason) will only paste information from
one sheet not both. To remedy the problem I created two macros, one for
each
sheet that copies into the other workbook. I need to now somehow make
both
of these macros run at the sametime. Any help would be greatly
appreciated.
Thanks.




Letzdo_1t

Combining Macros
 
Would you mind showing me what the vb code would look like.

Thanks
James

"Bill Kuunders" wrote:

Just insert the name of the second macro into your first macro at a spot
where you want it to work.
Just the name, nothing else.

Greetings from New Zealand

"Dave" wrote in message
...
Is there a way to combine certain macros into one?

I have a macro that opens a workbook, selects information from two
different
sheets and pastes that information into another workbook. The problem I
am
having is that my macro (for some reason) will only paste information from
one sheet not both. To remedy the problem I created two macros, one for
each
sheet that copies into the other workbook. I need to now somehow make
both
of these macros run at the sametime. Any help would be greatly
appreciated.
Thanks.






All times are GMT +1. The time now is 02:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com