Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2012, 06:27 PM
macropod's Avatar
macropod macropod is offline Close Printpreview and load a Userform Windows 7 64bit Close Printpreview and load a Userform Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,381
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Why are you switching to Print Preview before loading your form? You have:
ActiveDocument.PrintPreview
Me.Show


If you don't want Print Preview when you load your form then delete this line:
ActiveDocument.PrintPreview
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 06-16-2012, 04:07 PM
Francisco Sousa Francisco Sousa is offline Close Printpreview and load a Userform Windows 7 64bit Close Printpreview and load a Userform Office 2003
Novice
Close Printpreview and load a Userform
 
Join Date: Jun 2012
Posts: 4
Francisco Sousa is on a distinguished road
Default ActiveDocument.PrintPreview - Francisco Sousa

Hello

Sorry, I think I put the problem was badly formulated, the problem is that the ActiveDocument.PrintPreview is triggered by a button on a userform in Word and userform is hidden (Me.Hide), but when this runs ActiveDocument.PrintPreview loads the userform (Me.Show) ActiveDocument.PrintPreview immediately on the screen and not on the screen of the Word as it should be, that because there is no break in ActiveDocument.PrintPreview when it fired. Dear Mr. Macropod can send you the file for your analysis, would be very grateful.
I apologize for my poor english


Sincerely
Best Regards,
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
showing a userform after hiding jillapass Word VBA 0 05-31-2012 06:13 AM
Outlook userform validation help aiwnjoo Outlook 0 12-08-2010 12:57 AM
PowerPoint Add-in fails to load in start up but loads successfully if load manually f shahbazlibra PowerPoint 0 11-30-2010 08:36 AM
Displaying data from spreadsheet in Userform darklide Excel 0 03-12-2010 05:42 AM
[Word 2003] Macro's and a UserForm xanuex Word VBA 0 10-19-2009 05:42 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:46 PM.


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