Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default Is there are 'sendkey' statement to activate the spacebar?

I'm trying to automate the input of data on a large number of forms and have
come up against a problem with entering a spacebar command. I can't find
this among Visual Basic help and, as far as I can see, no other keyboard
command will tick thje box I need ticked.

Any way round this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Is there are 'sendkey' statement to activate the spacebar?

SendKeys " "



--
Cheers
Nigel



"Zakynthos" wrote in message
...
I'm trying to automate the input of data on a large number of forms and

have
come up against a problem with entering a spacebar command. I can't find
this among Visual Basic help and, as far as I can see, no other keyboard
command will tick thje box I need ticked.

Any way round this?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default Is there are 'sendkey' statement to activate the spacebar?

Nigel,

Thanks for that, I've tried it but it doesn't seem to work in the form I'm
using.

If I send two Sendkeys "{TAB}" commands (from 2 tabs above the checkbox I
want to select) I achieve the same thing, i.e. the label to the checkbox is
'selected' (dotted rectangle) but Sendkeys "" or Sendkeys "{Space}", Sendkeys
"{SPC}" or Sendkeys "{Spacebar}" won't put a tick in the box I need a tick in!

Any other possibilities?

Thanks

Tony

"Nigel" wrote:

SendKeys " "



--
Cheers
Nigel



"Zakynthos" wrote in message
...
I'm trying to automate the input of data on a large number of forms and

have
come up against a problem with entering a spacebar command. I can't find
this among Visual Basic help and, as far as I can see, no other keyboard
command will tick thje box I need ticked.

Any way round this?




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
sendkey help needed Ryk Excel Discussion (Misc queries) 4 November 6th 06 04:50 AM
SENDKEY method jason Excel Programming 4 November 3rd 04 05:13 PM
sendkey problem Anders Andersson[_2_] Excel Programming 5 September 29th 04 05:53 PM
SendKey Question Matt Excel Programming 0 August 9th 04 07:59 PM
using sendkey to enter vbe password in Excel 2000 jaf Excel Programming 0 September 30th 03 05:53 PM


All times are GMT +1. The time now is 08:39 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"