![]() |
Left Click
Hia!
How are you friends? 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? Many Thanks. |
Left Click
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? |
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? |
Left Click
Sorry. I accidently used my room mate's account.
"Varne" wrote: 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? |
All times are GMT +1. The time now is 01:18 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com