macro attached to command button - VBA form

  • Thread starter Thread starter Roy Gudgeon
  • Start date Start date
R

Roy Gudgeon

Hi

Can I attach a previously contrsucted Macro to a new cmd button placed on a
VBA user form ?

If so how ?
 
Try calling that macro as below

Private Sub CommandButton1_Click()
Call Macroname
End Sub
 
Hi Jacon

So easy, I'llget the hang of this eventually !

Got small problem with Macro but I'll sort that
 
Back
Top