Hi,
I am trying to right a function to unhide a ribbon bar when a particular Report iss open, as Ctrl + F1 Hides/Unhides the Ribbon bar my thought was to test for the height of the bar and then unhide if required, the code I have is
Only problem is that if you Press Ctrl + F1 in Access it works but when you use SendKeys to do this Help popus up!
Any one with any ideas.
Thanks,
Gavin,
I am trying to right a function to unhide a ribbon bar when a particular Report iss open, as Ctrl + F1 Hides/Unhides the Ribbon bar my thought was to test for the height of the bar and then unhide if required, the code I have is
Code:
If Application.CommandBars("Ribbon").Height <> 147 Then
SendKeys "^{F1}", True
End If
Only problem is that if you Press Ctrl + F1 in Access it works but when you use SendKeys to do this Help popus up!
Any one with any ideas.
Thanks,
Gavin,