Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2013, 04:14 AM
gmaxey gmaxey is offline Show userform without losing document focus? Or other method to get a graphic to pop? Windows 7 32bit Show userform without losing document focus? Or other method to get a graphic to pop? Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,652
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default


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?
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
Reply

Tags
document focus, graphics, userform

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show userform without losing document focus? Or other method to get a graphic to pop? Losing charts in Word document sweetpotater Word 1 04-24-2012 04:46 AM
Show userform without losing document focus? Or other method to get a graphic to pop? How to link userform to another word document SaneMan Word VBA 5 10-14-2011 05:12 AM
Show userform without losing document focus? Or other method to get a graphic to pop? Setting focus to specific word document from UserForm 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
Show userform without losing document focus? Or other method to get a graphic to pop? Graphic files do not appear in my document plt Drawing and Graphics 2 04-22-2009 09:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2026 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft