Customised Ribbon periodically wont run macros

JeffGrant

Well-known Member
Joined
Apr 7, 2021
Messages
516
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I have this niggly little issue which is somewhat annoying.

I have a custom group which is on the customised tool bar.... no problem.
1634368888757.png


The Start Macro, launches a User form... no problem.
The Automatic and Manual icons are just to turn on and off the Calculation as found in the Formulas Group.

However, at least twice a week, for reasons I do not understand, clicking on the Start icon, gives me the deadly..... "Cannot run the macro" error message.

1634368980286.png


All this macro does is this

VBA Code:
Sub Start()
    Welcome.Show vbModeless ' show welcome screen
    Application.Wait Now + TimeValue("0:0:03") 'screen needs to catch up
End Sub

to fix it, I customise the ribbon, delete the start icon and then add it again, then off we go.

Clearly, it is something in my code that Excel does not like, or that I have not done, I just don't know what.

All suggestion are gratefully received.

Thanks
 
Last edited by a moderator:

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

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