excel 2010 application sendkeys ctrl with F1

1.3k Views Asked by At

According to the documentation I have, this expression:

application.sendkeys("^{F1}")

and this expression

CommandBars.ExecuteMso "MinimizeRibbon"

should both minimize the ribbon bar.

The commandbars expression works but, the application.sendkeys expression only displays the help screen.

Is my syntax wrong or does application.sendkeys just not work when using the caret in conjunction with function keys?

0

There are 0 best solutions below