Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Function OnVäri(s As Range, c) As Boolean
  2.   If TypeName(c) = "Double" Then
  3.     OnVäri = s.Interior.Color = c
  4.   Else
  5.     OnVäri = s.Interior.Color = rgb(c(1), c(2), c(3))
  6.   End If
  7. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement