Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm using a closed 3rd party addin that I want to automate with the SendKeys
command. How can I "select" one OptionButton over another? Changing focus with the SendKeys "{TAB}" works just fine but there doesn't appear to be any combination of keystrokes that will actually move the "dot" from one OptionButton to the other. What am I missing? Thanks, Fred |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have you tried the enter key after the focus is shifted to the option
button. SendKeys "{TAB}{TAB}~" -- Regards, Tom Ogilvy "Fred Russell" wrote in message ... I'm using a closed 3rd party addin that I want to automate with the SendKeys command. How can I "select" one OptionButton over another? Changing focus with the SendKeys "{TAB}" works just fine but there doesn't appear to be any combination of keystrokes that will actually move the "dot" from one OptionButton to the other. What am I missing? Thanks, Fred |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Tom,
Tried it, doesn't work. Seems like there should be a way. Thanks, Fred |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Fred,
On the control properties window, Give a value for the "accelerator". The letter you use will be underligned in the control label. Using ALT + the underligned letter should changed its value to True. Regards Jean-Yves "Fred Russell" wrote in message ... I'm using a closed 3rd party addin that I want to automate with the SendKeys command. How can I "select" one OptionButton over another? Changing focus with the SendKeys "{TAB}" works just fine but there doesn't appear to be any combination of keystrokes that will actually move the "dot" from one OptionButton to the other. What am I missing? Thanks, Fred |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jean-Yves,
Unfortunately, the software is closed and I'm unable to assign an accelerator. Thanks, Fred |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This worked in Excel itself - (sending a space)
Private Sub CommandButton1_Click() SendKeys "{Tab}{Tab} " End Sub -- Regards, Tom Ogilvy "Fred Russell" wrote in message ... Hi Jean-Yves, Unfortunately, the software is closed and I'm unable to assign an accelerator. Thanks, Fred |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Tom,
Your a genius, the space works! Thanks, Fred |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
cant select chart command bar | Charts and Charting in Excel | |||
The dreaded Sendkeys command | Excel Programming | |||
Syntax for Excel variable using a SQL Select/From/Where Command... | Excel Programming | |||
Sendkeys VBA and command line | Excel Programming | |||
SendKeys command not focusing on the correct open program | Excel Programming |