Customised Ribbon periodically wont run macros

JeffGrant

Active Member
Joined
Apr 7, 2021
Messages
299
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

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,176,315
Messages
5,902,432
Members
434,975
Latest member
snoski

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
Top