![]() |
|
|
Thread Tools | Display Modes |
#4
|
|||
|
|||
![]()
Alex,
With your code (either of them) I don't see how you have returned the focus to the document. In fact the KeyDown would only work if the Userform had the focus. If that is acceptable, then perhaps: Private Sub UserForm_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger) Selection.TypeText Chr(KeyAscii) Unload Me End Sub How are you triggering the display of your userform? |
Tags |
document focus, graphics, userform |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
sweetpotater | Word | 1 | 04-24-2012 04:46 AM |
![]() |
SaneMan | Word VBA | 5 | 10-14-2011 05:12 AM |
![]() |
SaneMan | Word VBA | 5 | 04-01-2011 03:11 PM |
I have a Word 2007 document that only show 13 pages | xeonix | Word | 0 | 07-06-2009 08:38 PM |
![]() |
plt | Drawing and Graphics | 2 | 04-22-2009 09:58 AM |