View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
pikus pikus is offline
external usenet poster
 
Posts: 1
Default Call/Start Macro

Well, it depends. Right click the button and select "View Code". Thi
should appear:

Private Sub CommandButton1_Click()

End Sub

Just type the name of the subroutine inside it like so, if you ar
calling a subroutine called "Foo":

Private Sub CommandButton1_Click()
Foo
End Sub

Or try:

Private Sub CommandButton1_Click()
Call Foo
End Sub

- Piku

--
Message posted from http://www.ExcelForum.com