Argument not optional in "Cell Menu" - OK in Ribbon

Jotoya

Active Member
Joined
May 25, 2003
Messages
366
Hello -

I am at a loss.

I have an Add-In I created some time ago and recently used Andy Pope's RibbonX Visual Designer in order to add it to my Ribbon. By the way, AJP's RibbonX Visual Designer is AWESOME!!

Anyway, I decided to add a couple of the Add-In commands to the cell menu. Now, when I call these two commands from my custom Ribbon menu, they trigger perfectly. However, if I attempt to use them from the right-click cell menu I get a "Microsoft Visual Basic for Applications Error - Argument not optional." Also, the commands in the cell menu appear and disappear "at will" it seems.

I copied the code from my Add-In into a fresh new workbook to do some troubleshooting and voila! They show up and work just fine - no issues.

Any guesses as to what in the world is going on? Any guidance/help is greatly appreciated.

Thank you.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top