Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Function OnVäri(s As Range, c) As Boolean
- If TypeName(c) = "Double" Then
- OnVäri = s.Interior.Color = c
- Else
- OnVäri = s.Interior.Color = rgb(c(1), c(2), c(3))
- End If
- End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement