Hi guys, need a code to replicate what excel has on its own ribbon. i mean, need to asign a button in order to paint any cell i choose to , for example, yellow.
Tried this: ( not the result i looking for of course)
CAn you help me?
Tks!
Sub Macro3()
'
' Macro3 Macro
'
'
ActiveCell.Range(" my choose- one or many cells as i want ").Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
End Sub
Tried this: ( not the result i looking for of course)
CAn you help me?
Tks!
Sub Macro3()
'
' Macro3 Macro
'
'
ActiveCell.Range(" my choose- one or many cells as i want ").Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
End Sub