Thread: Left Click
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Varne Varne is offline
external usenet poster
 
Posts: 126
Default Left Click

Hia!

I did check with some codes I got from the net; win32 API declarations; They
certainly take the cursor to whereever you want on the screen.

"Bob Bridges" wrote:

I have some documentation here that says SendKeys can send function keys
using "{F2}" (for example). I don't see anything in there about mouse
buttons, and it isn't obvious to me how you could use SendKeys with a mouse
anyway, since there's no way to move the cursor before clicking on it.

--- "Nedan Nedzatra" wrote:
I have read from a site that there is no VBA code for sending the 'fn' key.
Is that right? I use a laptop and without that I can't write codes for left
click. If someone knows a way around could I please know it?

I have not tried it but on a PC sendkeys "5" should do the left click! Am I
right?