View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones Norman Jones is offline
external usenet poster
 
Posts: 5,302
Default How do I embed a commandbutton from VisualBasic into Excel

Hi Sidas,

Try:

ActiveSheet.OLEObjects.Add ClassType:= _
"Forms.CommandButton.1"

---
Regards,
Norman



"SIDAS" wrote in message
...
Programming usig Macros. Would like to embed a commandbutton from
VisualBasic
into Excel version 2002.