Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
'Class
Option Explicit
Private mvarvalue As String
Public Property Let Edit(ByVal vData As String)
mvarvalue = vData
End Property
Public Property Get Edit() As String
Edit = mvarvalue
End Property
'*********************************
'Userform1
Private Sub cmdRedAnl_Click()
Dim pEdit As Edit
Set pEdit = New Edit
pEdit.Edit = "Red"
UserForm2.Show
End Sub
'****************************************
'UserForm2
Private Sub UserForm_Initialize()
Dim pEdit As Edit
Set pEdit = New Edit
MsgBox pEdit.Edit, vbDefaultButton1, "hej"
End Sub
'****************************************