Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Exporting Black and White Charts.

Exporting Black and White Charts

Written by Allen Wyatt (last updated December 30, 2023)
This tip applies to Excel 97, 2000, 2002, and 2003


Excel allows you to create charts in full color. When you get ready to print the chart, you can instruct Excel to print it in "black and white" (via File | Page Setup | Chart | Print in Black and White). You may wonder if there is a way to export this "black and white" version of the chart, so that you can work with it in a different program.

The answer is that you cannot do this, at least not directly. To understand why this is, you must understand how the "print in black and white" feature works. This feature only affects what is sent to the printer driver (to your printer), it doesn't affect the actual chart at all. Even when you click on Print Preview, you are not viewing your actual chart, but a representation of what your chart will look like when printed. Thus, you are seeing printer output, not the real chart.

If you want to export a black and white version of your chart, there are several ways to accomplish the task. The first is to simply view the chart in Print Preview and do a screen capture (press Alt+Print Screen). You can then paste the screen into your favorite graphics program and touch it up, as desired.

If you want to export the chart instead of just capturing the screen, then you should change the colors of the chart so that they really are grayscale and contain the same patterns you would see if you chose to print in black and white. This approach actually changes the source for the chart, rather than relying on Excel to do a transformation of the chart when you print. Once you get done making the formatting changes you can even save the chart as a "chart type" so you can use it as a pattern for other charts you create.

If desired, you can also use a macro to convert between color and grayscale chart presentation. This approach is highly dependent on the colors you want to use in the chart, the type of chart you are using, and the number of data series in the chart. The following is an example of a macro that will toggle the colors in a data series between color and black and white, for up to five data series.

Option Explicit
Public bColored As Integer

Sub ColoredToBW()
    Dim cht As Chart
    Dim chtSC As SeriesCollection
    Dim x As Integer
    Dim iSeriesCount As Integer
    Dim iColors(1 To 5, 0 To 1) As Integer
    Dim iColor As Integer

'Set colors for BW series
    iColors(1, 0) = 1 'Black
    iColors(2, 0) = 56 'Gray-80%
    iColors(3, 0) = 16 'Gray-50%
    iColors(4, 0) = 48 'Gray-40%
    iColors(5, 0) = 15 'Gray-25%

'Set colors for Color series
    iColors(1, 1) = 55 'Indigo
    iColors(2, 1) = 7 'pink
    iColors(3, 1) = 6 'yellow
    iColors(4, 1) = 8 'Turquoise
    iColors(5, 1) = 13 'Violet

'Toggle Color/BW change 0 to 1 or 1 to 0
    bColored = 1 - bColored

    Set cht = ActiveChart

'check that a chart is selected
    If cht Is Nothing Then
        MsgBox ("Select a chart")
        Exit Sub
    End If

    Set chtSC = cht.SeriesCollection

    'Check for MIN of number of series or
    'colors and only do the minimum
    iSeriesCount = Application.WorksheetFunction.Min _
      (UBound(iColors), chtSC.Count)

    For x = 1 To iSeriesCount
        'Define the color
        iColor = iColors(x, bColored)

        'Set the LINE color
        chtSC(x).Border.ColorIndex = iColor

        'Marker color
        With chtSC(x)
            .MarkerBackgroundColorIndex = xlNone
            .MarkerForegroundColorIndex = iColor
        End With
    Next x
End Sub

This example will not work with all chart types; you will need to modify it to reflect your needs. It will, however, serve as a starting point for making your own macro.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2204) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Exporting Black and White Charts.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Jumping Back to the TOC

Word allows you to create a table of contents that provides hyperlinks to headings within your document. It doesn't make ...

Discover More

Print Layout Zoom Settings

The zoom setting at which you view a document can sometimes be saved with a document. This tip explains how the zoom ...

Discover More

Automatic Non-breaking Spaces in Dates

It drives some people crazy to have a date break across two lines. If you find yourself in this mindset, then you'll ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (menu)

Inserting from a Camera or Scanner

One of the ways you can insert graphics into a worksheet is by grabbing them from a digital camera or a scanner. This tip ...

Discover More

Deleting Graphics when Deleting a Row

If you use Excel to keep a graphic with each row of data you amass, you may wonder if there is a way to easily delete the ...

Discover More

Changing the Axis Scale

When creating a chart, you may want to adjust the default scaling that Excel applies to an axis. This is relatively easy ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five less than 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.