excel - How to Print Selection without the cell background color ( black and white print ) VB -


how change line of code in order not select cell fill color or somehow printout selection in black , white, while keeping fill color on page.

range("h8:k10" & "," & "a" & firstrow & ":g" & lastrow).printout 

this should trick. worksheets("sheet1").pagesetup.blackandwhite = true


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -