I am not real sure about this issue, but this link may help out...
http://support.microsoft.com/kb/108357
Mark Ivey
"Torben Laursen" <(E-Mail Removed)> wrote in message
news:B57192E4-ABC8-4D5E-AC80-(E-Mail Removed)...
> I have a custom menu in Excel written in C#
>
> Now I would like to check if a user is holding down the shift key when he
> is clicking on one of my menu's.
> I want to use this for hidden advanced features.
> The function looks like this:
> private void MI_EditUsingDatabase(CommandBarButton Ctrl, ref Boolean
> CancelDefault)
> {
> bla bla
> }
>
> But how do I know if the user is pressing a key inside this function?
>
> Torben