Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
VB code for running a macro
Hi,
I'm trying to write a couple lines of code for a macro, call it Macro1. I want Macro1 to be able to run Macro2. What's the code command for that? Thanks, rcc |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
VB code for running a macro
Sub Macro1 'somecode Macro2 'optional additional code End Sub -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware (Excel Add-ins / Excel Programming) "rcc" wrote in message Hi, I'm trying to write a couple lines of code for a macro, call it Macro1. I want Macro1 to be able to run Macro2. What's the code command for that? Thanks, rcc |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
VB code for running a macro
Hi
Try Sub Macro1() your code Call macro2 more code End Sub -- Regards Roger Govier "rcc" wrote in message ... Hi, I'm trying to write a couple lines of code for a macro, call it Macro1. I want Macro1 to be able to run Macro2. What's the code command for that? Thanks, rcc |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
VB code for running a macro
call macro2
is one way. rcc wrote: Hi, I'm trying to write a couple lines of code for a macro, call it Macro1. I want Macro1 to be able to run Macro2. What's the code command for that? Thanks, rcc -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Please Help Error 400 when running tested code | Excel Discussion (Misc queries) | |||
disable user running macro from Tools Macro | Excel Discussion (Misc queries) | |||
Automatically running code | Excel Worksheet Functions | |||
Running code on a drop down selection change | Excel Worksheet Functions | |||
running code | New Users to Excel |