Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default SendKeys Help


Hi All,

I need to do CTRL A and CTRL C to copy all the data in a webpage.
Can anyone tell me if this syntax is right ?

Application.SendKeys ("^{A}")
Application.SendKeys ("^{C}")

Many Thanks
Ankur

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default SendKeys Help

SendKeys should only used as a last resort.

What about a web query instead.
Excel can open html file also if 2002 and up.
+ other options of getting the HTML directly from the server etc.

NickHK

"ankur" wrote in message
oups.com...

Hi All,

I need to do CTRL A and CTRL C to copy all the data in a webpage.
Can anyone tell me if this syntax is right ?

Application.SendKeys ("^{A}")
Application.SendKeys ("^{C}")

Many Thanks
Ankur



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default SendKeys Help


Hi Nick,

Thanks a lot for the quick reply.

Yes, I understand that sendkeys have to be used as the last resort.
Still I would like to know can do a Select All and Copy All with send
keys. If yes, then How?

Thanks so much for your help.

Regards
Ankur


On Jan 17, 4:19 pm, "NickHK" wrote:
SendKeys should only used as a last resort.

What about a web query instead.
Excel can open html file also if 2002 and up.
+ other options of getting the HTML directly from the server etc.

NickHK

"ankur" wrote in ooglegroups.com...





Hi All,


I need to do CTRL A and CTRL C to copy all the data in a webpage.
Can anyone tell me if this syntax is right ?


Application.SendKeys ("^{A}")
Application.SendKeys ("^{C}")


Many Thanks
Ankur- Hide quoted text -- Show quoted text -


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SendKeys Help ajvasel Excel Programming 2 August 9th 06 04:48 PM
Always Sendkeys... Duncan[_5_] Excel Programming 0 May 4th 06 09:10 AM
SendKeys [email protected] Excel Programming 1 July 25th 05 06:05 PM
Sendkeys GB[_3_] Excel Programming 0 September 16th 03 10:39 PM
SendKeys Ron de Bruin Excel Programming 3 August 25th 03 10:21 PM


All times are GMT +1. The time now is 09:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"