The examples below will make the font color white.
1) It will make the font white
2) Print
3) Make the font black again
Sub test1()
'Range with one area
With ActiveSheet
.Range("B10:B14").Font.ColorIndex = 2
.PrintOut
.Range("B10:B14").Font.ColorIndex = 1
End With
End Sub
Sub test2()
'Range with more areas
With ActiveSheet
.Range("A1:A3,B10:B14,C12").Font.ColorIndex = 2
.PrintOut
.Range("A1:A3,B10:B14,C12").Font.ColorIndex = 1
End With
End Sub
Select your range and apply Data|Filter|Autofilter.
then use the dropdowns to show only the values (and rows) that you want to see.
Print the worksheet and do Data|Filter|showall (or even remove the autofilter).
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.