+ Reply to Thread
Results 1 to 2 of 2

excel 2010 crashes when printing and print.preview Macro

Hybrid View

zmhnk excel 2010 crashes when... 09-08-2012, 09:24 AM
jayinthe813 Re: excel 2010 crashes when... 09-09-2012, 12:35 AM
  1. #1
    Registered User
    Join Date
    01-23-2012
    Location
    usa
    MS-Off Ver
    2007
    Posts
    1

    excel 2010 crashes when printing and print.preview Macro

    Excel Crashes When use this Macro for print preview and printer window ,so I searched alot on Google to see how to solve this problem ,but i fail. Here is the code i use to PrintPreview :
    VB:

     
    Sub Print_TimeSht() 
        Application.ScreenUpdating = False 
         
        With ActiveSheet.PageSetup 
            .PrintArea = "$A$1:$Q$599" ' set print area
            .PrintHeadings = False 
            .PrintGridlines = False 
            .PrintComments = xlPrintNoComments 
             
            .CenterHorizontally = False 
            .CenterVertically = False 
            .Orientation = xlPortrait 
            .Draft = False 
             '.PaperSize = xlPaperA4
            .FirstPageNumber = xlAutomatic 
            .Order = xlDownThenOver 
            .BlackAndWhite = True 
            .Zoom = False 
            .PrintErrors = xlPrintErrorsDisplayed 
             
        End With 
        Application.ScreenUpdating = True 
        With ActiveWindow 
            .Zoom = 80 
            .SelectedSheets.PrintPreview 
             
        End With 
        Application.Dialogs(xlDialogPrint).Show 
        Application.ScreenUpdating = True 
    End Sub
    So How to solve these Problem i use Excel 2010 32 bit with Win7 32 bit >>??????

  2. #2
    Forum Contributor
    Join Date
    08-01-2012
    Location
    Tampa
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: excel 2010 crashes when printing and print.preview Macro

    Macro Worked fine for me on Win7 64 bit. Does print preview manually crash as well? I would look at possibly reinstalling printer driver. Without being able to replicate your problem, its hard to offer a solution

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1