Access F1 programmatically

pablavo

Registered User.
Local time
Today, 08:08
Joined
Jun 28, 2007
Messages
189
Hi there

I was just wondering if there was a way to access F1 Programmatically through a command button.

The reason is (and I could be doing this completely wrong) that I want to access my help file without having to press F1.

I'm sure there's other code to do this, but I just can't find anything, at least anything that works.

Thanks for any help.
 
SendKeys "{F1}", True

Macro is

{F1}
Yes

The Yes is to wait until it completes before moving to the next line. The code is a conversion of {F1} Yes

That opens the same screen and when you click Access Help

May have problems with Vista and a lot of people say that SendKeys is not good.
 
Thanks for the reply.

Yeah, I heard sendKeys is unpredictable. I'll try it and see if I have any problems

Thanks
 

Users who are viewing this thread

Back
Top Bottom