Macro inside another macro?

  • Thread starter Thread starter thrava
  • Start date Start date
T

thrava

I like to refer to another macro within another macro.

Is this possible?
Does this work?

sub macro1()
....
....

sub Macro2()
....
....
end sub

.....
.....
end sub
?
 
Not like that. You can have macro code within a macro or call another macro
sub macro1
call macro2
end sub

or
sub macro1
macro2 code here
end sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Macro Help 3
Run Macro If Cell have "x" value 0
Using a formula in a macro 2
Excell 2000 macro will not open file! 1
assign a macro to a combo box 2
Macro and sub rountines 1
Macro help 2
Menus in xlmenubar 5

Back
Top