View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Momo Momo is offline
external usenet poster
 
Posts: 45
Default Macro to Make a Macro

Hi all,

Does anyone know how to use a macro that can create a command button and
then write a simple piece of code to create a new macro, for arguements sake,

Private Sub CommandButton1_Click()
msgbox "Hello"
End Sub

Is there anyway of writting that code within VBE using a macro

Thanks

Andy