Run a macro when a worksheet is executed?

M

mudraker

raraujo


there are 2 ways

1st in a normal module have a macro

sub Auto_Open

msgbox "Hi - From Auto Open Macro"

end sub


2nd method in the ThisWorkbook Module

Private Sub Workbook_Open()

Msgbox "Hi - From Workbook_Open event"

End Sub
 
R

raraujo

mudraker,

Please, could you explain how I insert this subrotines in the workshee
?

Thanks

Ruben
 
Top