Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm using an excel file which compiles different reports into one monthly
report file. I have a button that I want added to one of the sheets in the monthly file. The script recorder gave me the following information to add the button, but I can't figure out how to get it to assign my existing code to the new button. Sheets("Sheet1").Select ActiveSheet.OLEObjects.Add(ClassType:="Forms.Comma ndButton.1", Link:=False _ , DisplayAsIcon:=False, Left:=10.5, Top:=55.5, Width:=79.5, Height:= _ 31.5).Select |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro code behind button | Excel Worksheet Functions | |||
Enable or Disable Forms Button on a worksheet from code | Excel Programming | |||
Command button to toggle worksheet event code on / off? | Excel Discussion (Misc queries) | |||
How do I code VBA to hit button on a different worksheet? | Excel Programming | |||
c# code to add button control to the worksheet!!!! | Excel Programming |