View Single Post
 
Old 03-22-2018, 09:12 AM
BartH BartH is offline Windows 10 Office 2016
Novice
 
Join Date: Mar 2018
Posts: 7
BartH is on a distinguished road
Default

Quote:
Originally Posted by Debaser View Post
If you're repurposing a command, the callback procedure declaration has to be slightly different, so that you can specify whether to allow the default action to run too:

Code:
Sub cbDoProtectSheetRepurpose(control As IRibbonControl, ByRef cancelDefault)
cancelDefault = True
doProtectSheet
End Sub
ThnX Debaser, I got it!
Reply With Quote