Results 1 to 4 of 4

printer macro

Threaded View

  1. #1
    Registered User
    Join Date
    12-14-2010
    Location
    Anderson Indiana
    MS-Off Ver
    Excel 2000
    Posts
    8

    printer macro

    I need to print a area but hide some column each time I print. I get an error message with this. Can someone help me fix this macro?

    I want to Hide column K &L, and then unhide after I print.

    Sub print_route()
        .Columns("K:L").EntireColumn.Hidden = True
      ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
        .Columns("K:L").EntireColumn.Hidden = False
    End Sub
    Last edited by Leith Ross; 12-18-2010 at 02:39 AM. Reason: Added Code Tags

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