![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hello, I have to start a Command_Click event with the simulation of pressing the PgDown-key. Is this possible? Private Sub Command_Click() 'press the PgDown - key End Sub Thanks Private Sub Command1_Click() |
#4
| |||
| |||
|
|
Private Sub Command1_Click() SendKeys "{Enter}{pgdn}" MsgBox "Beam me down, Scotty" End Sub |
#5
| |||
| |||
|
|
"Salad" <oil (AT) vinegar (DOT) com> schreef in bericht news:13t0fg243upg606 (AT) corp (DOT) supernews.com... Private Sub Command1_Click() SendKeys "{Enter}{pgdn}" MsgBox "Beam me down, Scotty" End Sub I am guessing the OP only wanted Sendkeys "{PgDn}" |
|
What's the PageDown 'doing' exactly ?? Maybe you can code 'the other way around' ?? e.g When moving to another page you might as well do a DoCmd.GoToPage 2 ==> Be aware that Sendkeys will not work with Vista anymore. Arno R |
![]() |
| Thread Tools | |
| Display Modes | |
| |