Sub Dark_Mode_Cells()
'
' Dark_Mode_Cells Macro
' Dark Mode cell format.
'
' Keyboard Shortcut: Ctrl+Shift+D
'
ActiveWorkbook.Styles.Add Name:="Dark_Mode"
With ActiveWorkbook.Styles("Dark_Mode")
.IncludeNumber = True
.IncludeFont = True
.IncludeAlignment = True
.IncludeBorder = True
.IncludePatterns = True
.IncludeProtection = True
End With
With ActiveWorkbook.Styles("Dark_Mode").Font
.Name = "Calibri"
.Size = 11
.Bold = False
.Italic = False
.Underline = xlUnderlineStyleNone
.Strikethrough = False
.ThemeColor = 1
.TintAndShade = 0
.ThemeFont = xlThemeFontMinor
End With
With ActiveWorkbook.Styles("Dark_Mode").Borders(xlLeft)
.LineStyle = xlContinuous
.ThemeColor = 1
.TintAndShade = 0
.Weight = xlThin
End With
With ActiveWorkbook.Styles("Dark_Mode").Borders(xlRight)
.LineStyle = xlContinuous
.ThemeColor = 1
.TintAndShade = 0
.Weight = xlThin
End With
With ActiveWorkbook.Styles("Dark_Mode").Borders(xlTop)
.LineStyle = xlContinuous
.ThemeColor = 1
.TintAndShade = 0
.Weight = xlThin
End With
With ActiveWorkbook.Styles("Dark_Mode").Borders(xlBottom)
.LineStyle = xlContinuous
.ThemeColor = 1
.TintAndShade = 0
.Weight = xlThin
End With
ActiveWorkbook.Styles("Dark_Mode").Borders(xlDiagonalDown).LineStyle = xlNone
ActiveWorkbook.Styles("Dark_Mode").Borders(xlDiagonalUp).LineStyle = xlNone
With ActiveWorkbook.Styles("Dark_Mode").Interior
.Pattern = xlSolid
.PatternColorIndex = 0
.ThemeColor = xlThemeColorLight1
.TintAndShade = 0
.PatternTintAndShade = 0
End With
End Sub