Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've created a custom tab with buttons for my custom macros but i can't seem
to get the macros to work. When i press the button i get the following error: "Wrong number of arguments or invalid property assignment". Yet, if i go to View Macros and click run the macros work. Any suggestions? Thanks, Larry |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The code?
-- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Larry S" wrote in message ... I've created a custom tab with buttons for my custom macros but i can't seem to get the macros to work. When i press the button i get the following error: "Wrong number of arguments or invalid property assignment". Yet, if i go to View Macros and click run the macros work. Any suggestions? Thanks, Larry |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I figured it out. i was missing the (control As IRibbonControl) in the macro
call back. "Bob Phillips" wrote: The code? -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Larry S" wrote in message ... I've created a custom tab with buttons for my custom macros but i can't seem to get the macros to work. When i press the button i get the following error: "Wrong number of arguments or invalid property assignment". Yet, if i go to View Macros and click run the macros work. Any suggestions? Thanks, Larry |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Custom macro and custom button | New Users to Excel | |||
2003 - 2007 custom macro and custom button restore. | Excel Discussion (Misc queries) | |||
Custom Printing in a Macro | Excel Discussion (Misc queries) | |||
Custom Header Macro | Excel Discussion (Misc queries) | |||
Using a custom function in a macro | Excel Programming |