Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You have me confused. If you do not want the sheet displayed, why do you
call print preview? What is the purpose of calling print preview at that point? "Eddie_SP" wrote in message ... My UserForm takes the whole screen. I have many CommandButtons, and one of them is "Print Preview". I don't want the user to see the sheet (it's an "auto_open"), all controls will be done by using the UserForm. I have this: Private Sub CommandButton6_Click() On Error Resume Next Worksheets(1).Select ActiveSheet.PrintPreview Me.Hide End Sub But it's not working. It freezes Excel, and all I have to do is Ctrl + Alt + Del. Can some help me? I tried searching the past topics, but none of them really helped me. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi JLGWhiz !
The purpose is to see the final document already filled out. It's a standard document. So at the end, after giving all the data, I want to have a preview of what the user have done, if it's "ok" press button "Print", if it's not "ok" press button "Correct document". But always my UserForm will be on Top. Tks. "JLGWhiz" wrote: You have me confused. If you do not want the sheet displayed, why do you call print preview? What is the purpose of calling print preview at that point? "Eddie_SP" wrote in message ... My UserForm takes the whole screen. I have many CommandButtons, and one of them is "Print Preview". I don't want the user to see the sheet (it's an "auto_open"), all controls will be done by using the UserForm. I have this: Private Sub CommandButton6_Click() On Error Resume Next Worksheets(1).Select ActiveSheet.PrintPreview Me.Hide End Sub But it's not working. It freezes Excel, and all I have to do is Ctrl + Alt + Del. Can some help me? I tried searching the past topics, but none of them really helped me. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
First page of Excel sheerepeats in print layout or print preview | Excel Discussion (Misc queries) | |||
Print and Print Preview Graphic Moving Resizing 2007/2003 | Excel Discussion (Misc queries) | |||
print preview v page break preview | Excel Discussion (Misc queries) | |||
cell borders that I create dont show on print preview or print | Excel Discussion (Misc queries) | |||
Why does macro speed slow after Excel Print or Print Preview? | Excel Programming |