+ Reply to Thread
Results 1 to 6 of 6

Hide columns before printing and show after

  1. #1
    Registered User
    Join Date
    01-19-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2007
    Posts
    26

    Hide columns before printing and show after

    Hi everybody

    I have this sheet and there's a column where I place all the buttons and stuff which I don't wan't to show when printing.

    I need a routine that hide the specific column in the beforeprint event and show it after.

    Also, I don't want the whole printing configuration to be automated, I want the user to select the settings that suits him best, such as scale, margin size and stuff.

    Thanks in advance!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,466

    Re: Hide columns before printing and show after

    Can't you just format the buttons not to print?

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    01-19-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Hide columns before printing and show after

    It's not just buttons, it is a lot of stuff. Some of it is text/formatation embed in cells

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Hide columns before printing and show after

    hello
    can you try this one.

    End Sub
    Please Login or Register  to view this content.
    HTH
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  5. #5
    Registered User
    Join Date
    01-19-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Hide columns before printing and show after

    Quote Originally Posted by vlady View Post
    hello
    can you try this one.

    End Sub
    Please Login or Register  to view this content.
    HTH
    Hm... What about the moment when the columns are shown back?

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Hide columns before printing and show after

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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