+ Reply to Thread
Results 1 to 7 of 7

Print macro that prints certain areas in specific color

  1. #1
    Registered User
    Join Date
    11-08-2013
    Location
    Aarhus
    MS-Off Ver
    Excel 2013
    Posts
    7

    Print macro that prints certain areas in specific color

    Hi

    I want to make a vba macro that prints my five visible sheets. That part I have figured out. The next issue is that on my sheets in certain areas, e.g. in sheet1 in the range "C105:S108" I have changed the cell backgroun color into orange to make it clear for the user that these cells must be filled. But when I run my print macro I don't want the printer to print the mentioned area in orange, but change it to standard white. Any nice way to do this and how?

    Thanks!

  2. #2
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    265

    Re: Print macro that prints certain areas in specific color

    Without seeing your code..

    Maybe add line:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-08-2013
    Location
    Aarhus
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Print macro that prints certain areas in specific color

    That line would solve the problem if I wanted the entire sheet in black and white. But I still want the other areas of the sheet in colors.

  4. #4
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    265

    Re: Print macro that prints certain areas in specific color

    Does it print all pages in 1 print job or 5 individual print jobs..

  5. #5
    Registered User
    Join Date
    11-08-2013
    Location
    Aarhus
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Print macro that prints certain areas in specific color

    The macro prints page 1 to 5 and all five pages have different areas coloured orange. I only want the macro to change the orange areas into white, and then turn it back to orange once printed.

  6. #6
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    265

    Re: Print macro that prints certain areas in specific color

    If Individual:

    Put This before the .Printout

    Please Login or Register  to view this content.

    And This after the .Printout Line.
    Please Login or Register  to view this content.
    As i don't know your code i don't know if you require anything else.

    Maybe Post a copy of your Print Code.

  7. #7
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    265

    Re: Print macro that prints certain areas in specific color

    Quote Originally Posted by JRidge View Post
    If Individual:



    As i don't know your code i don't know if you require anything else.

    Maybe Post a copy of your Print Code.
    Post Your Code please.

+ 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. Macro to print multiple print areas on one page.
    By morangeman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-23-2015, 12:13 PM
  2. Macro code to set two different print areas in different ranges in worksheet
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2013, 10:28 AM
  3. [SOLVED] New Macro I created to format a page and print, prints 5 copies
    By tamalloni in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 10-05-2012, 01:30 PM
  4. Macro prints print area frame
    By Emiel in forum Excel General
    Replies: 0
    Last Post: 02-24-2010, 12:09 PM
  5. Macro to select Print Areas in Excel to PowerPoint
    By jayman7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2009, 07:00 AM

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