View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim Cone Jim Cone is offline
external usenet poster
 
Posts: 3,290
Default 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