Question : in Excel using VBA, how do you change ALL the cells STYLE formatting
Answered by : shane-eckel
Dim Cell as Range
For Each Cell in ActiveSheet.Cells
If Cell.Style = "Input" then
Cell.Style = "InputLocked"
End If
Next Cell
Source : https://www.automateexcel.com/vba/cell-font-color-size/ | Last Update : Thu, 14 Jul 22
Question : in Excel using VBA, how do you change a cells STYLE (like HEADER)
Answered by : shane-eckel
Range("A1").Style = "Input"
Source : https://www.automateexcel.com/vba/cell-font-color-size/ | Last Update : Thu, 14 Jul 22