Advertisement
Ziomnexpl

vba excel

Feb 18th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. UserForm1.Frame1.Visible = False/True 1/0 - ukrywa ramkę(frame1)
  2.  
  3. MsgBox UserForm2.ListBox1.Value
  4.  
  5. ---------------------------------------------------------------------------------------------------
  6.  
  7. Private Sub CommandButton1_Click()
  8. If IsNumeric(Range("a1").Value) = True Then
  9. Range("a1").Value = Range("a1").Value + 1 }-zlicza kliknięcia przycisku do komórki a1
  10. End If
  11. End Sub
  12. ********************************************************************************************************************
  13. Private Sub ListBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
  14. MsgBox UserForm2.ListBox1.Value }-wyświetla w okienku dwukrotnie klikniętą wartość z listy
  15. End Sub
  16. *********************************************************************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement