
03-22-2018, 09:12 AM
|
Novice
|
|
Join Date: Mar 2018
Posts: 7
|
|
Quote:
Originally Posted by Debaser
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!
|