Guest User

Untitled

a guest
May 20th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. Private Sub bsbar_Change()
  2. Me.cbtxt.Value = Me.bsbar.Value
  3. End Sub
  4.  
  5. Private Sub cbtxt_Change()
  6. Me.cpimg.BackColor = VBA.RGB(Me.crtxt.Value, Me.cgtxt.Value, Me.cbtxt.Value)
  7. End Sub
  8.  
  9. Private Sub cgtxt_Change()
  10. Me.cpimg.BackColor = VBA.RGB(Me.crtxt.Value, Me.cgtxt.Value, Me.cbtxt.Value)
  11. End Sub
  12.  
  13. Private Sub cpassign_Click()
  14.  
  15. End Sub
  16.  
  17. Private Sub crtxt_Change()
  18. Me.cpimg.BackColor = VBA.RGB(Me.crtxt.Value, Me.cgtxt.Value, Me.cbtxt.Value)
  19. End Sub
  20.  
  21. Private Sub gsbar_Change()
  22. Me.cgtxt.Value = Me.gsbar.Value
  23. End Sub
  24.  
  25. Private Sub rsbar_Change()
  26. Me.crtxt.Value = Me.rsbar.Value
  27. End Sub
  28.  
  29. Private Sub ScrollBar1_Change()
  30. 'This is the tint scroll bar that I want to use to tint the cpimg.backcolor
  31. End Sub
  32.  
  33. Private Sub UserForm_Activate()
  34. Me.cpimg.BackColor = VBA.RGB(Me.crtxt.Value, Me.cgtxt.Value, Me.cbtxt.Value)
  35. End Sub
Add Comment
Please, Sign In to add comment