+ Reply to Thread
Results 1 to 4 of 4

Active worksheet switches to Page Break Preview after printing

  1. #1
    Registered User
    Join Date
    01-16-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Active worksheet switches to Page Break Preview after printing

    Hello.

    I have a workbook with multiple sheets where the view for each sheet is the Normal view.

    If I print the entire workbook, the active sheet changes to the Page Break Preview view after the printing finishes.

    I have to then reset the view back to Normal.

    I don't know why the active worksheet is changing. I don't want to annoy the people who will use this workbook by making them change back to normal view after each time they print.

    Thanks for any help you can give. I appreciate it.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Active worksheet switches to Page Break Preview after printing

    Check whether any Before Print Event code is present on that workbook.
    1. Select the workbook in which you want to check
    2. Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
    3. In the Project Explorer, find your workbook, and open the list of Microsoft Excel Objects
    4. Right-click on the ThisWorkbook object, and choose View Code

    If so, then please share the code with us for doing changes


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    01-16-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Active worksheet switches to Page Break Preview after printing

    Actually there is no Before Print Event code in the workbook. I should have mentioned I checked that already.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Active worksheet switches to Page Break Preview after printing

    If possible please attach a sample workbook with enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Note: Please don't attach documents containing confidential data like (address, telephone, ID#s, etc.).

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Page Layout (Page Break Preview) is not working with hidden rows in excel.
    By ebin charles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2013, 03:32 AM
  2. Hiding the page number in page break preview background.
    By I need coffee, wake me up! in forum Excel General
    Replies: 3
    Last Post: 08-01-2012, 03:00 PM
  3. page break preview vs print preview do not match
    By chadgar24 in forum Excel General
    Replies: 1
    Last Post: 05-16-2012, 11:32 AM
  4. Print Preview Doesn't Match Page Break Preview
    By mik7585 in forum Excel General
    Replies: 0
    Last Post: 06-01-2009, 11:32 AM
  5. Printing: Page break preview - need help
    By tkh in forum Excel General
    Replies: 3
    Last Post: 01-23-2007, 08:38 PM

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