how to stop user interaction on ribbon while macro is running vba
Madhav Gadve (gmadhav)
0
Reputation points
Hi Team,
We have our custom ribbon and we want to restrict user to click on ribbon button when a preview "button_OnAction" is still running. If user clicked on refresh button and its taking 5 seconds to complete operation then we want to freeze the ribbon until it gets completed. We just want to avoid use to click multiple times on the ribbon.
We have tried "Application.ScreenUpdating" and "Application.EnableEvents" but no luck.
System Details:
MacOS v: 13.1 (22C65)
Excel v: 16.72