LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Userform.Show after sendkeys

I have tried alot of different things including sending this code to
another module after running sendkeys to show my userform with no
success. the simple code below sends paper select commands to a
printer and then shows a userform. for some reason the userform does
not ever show and the code goes bad. do i need to cap off the sendkeys
command before executing more code? what can i do to show a userform
after sendkeys? thanks for your help

Sub print_fast()

SendKeys "^{p}"
SendKeys "%{m}"
SendKeys "HP DesignJet"
SendKeys "%{r}"
SendKeys "{esc}"
SendKeys "{esc}"

PLU_SCREEN.Show

End Sub
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OnAction to show a userform Todd Huttenstine Excel Programming 1 May 7th 04 04:17 PM
Create and show UserForm from Add-In Rick Knight[_2_] Excel Programming 3 December 9th 03 01:04 AM
How to Show a userform from XLA sub Thibault Excel Programming 1 December 8th 03 03:36 PM
show a userform Joe[_17_] Excel Programming 0 July 18th 03 03:25 PM


All times are GMT +1. The time now is 01:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"