R
Ron
I only use SendKeys in two instances:
1st) Insert the value from the same field in the previous record.
I would Double Click the Form Control to execute On Dbl Click [Event
Procedure]
Private Sub Category_DblClick(Cancel As Integer)
SendKeys "^(')", True
End Sub
Same as Pressing CTRL+APOSTROPHE (') on the keyboard
This code does not execute in Access 2007 like it did in Access 2003
---------------------------------------------------
I was going to try the "SendKeys Macro Action" in a Macro.
I'm at a loss how to enter the "Ctrl" keystroke in the Keystrokes box in the
Action Arguments. (equivlent of pressing CTRL+APOSTROPHE)
2nd) The other instance I use SendKeys is to enter Todays Date:
Private Sub DateCompleted_DblClick(Cancel As Integer)
SendKeys "^(", True
End Sub
Any Suggestions?
1st) Insert the value from the same field in the previous record.
I would Double Click the Form Control to execute On Dbl Click [Event
Procedure]
Private Sub Category_DblClick(Cancel As Integer)
SendKeys "^(')", True
End Sub
Same as Pressing CTRL+APOSTROPHE (') on the keyboard
This code does not execute in Access 2007 like it did in Access 2003
---------------------------------------------------
I was going to try the "SendKeys Macro Action" in a Macro.
I'm at a loss how to enter the "Ctrl" keystroke in the Keystrokes box in the
Action Arguments. (equivlent of pressing CTRL+APOSTROPHE)
2nd) The other instance I use SendKeys is to enter Todays Date:
Private Sub DateCompleted_DblClick(Cancel As Integer)
SendKeys "^(", True
End Sub
Any Suggestions?