Skip to content

Instantly share code, notes, and snippets.

@hrstt
Created October 12, 2011 05:20
Show Gist options
  • Select an option

  • Save hrstt/1280362 to your computer and use it in GitHub Desktop.

Select an option

Save hrstt/1280362 to your computer and use it in GitHub Desktop.
Excel VBA: シートまたぎの印刷をすべて白黒にするマクロ
Sub MonotonePrint()
Dim Current As Worksheet
For Each Current In Worksheets
' 印刷設定を白黒に
Current.PageSetup.BlackAndWhite = True
Next
' ブック印刷
ActiveWorkbook.Worksheets.PrintOut
' 部数指定で印刷する場合
' ActiveWorkbook.PrintOut Copies:=1
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment