Private Sub cmdHide_Click()
Me.Hide
frmValue.Show
End Sub
Private Sub cmdClose_Click()
Unload Me
frmValue.Show
End Sub
Private Sub UserForm_Initialize()
TextBox1.Text = frmHideUnload.TextBox1.Text
End Sub
Private Sub cmdClose_Click()
Unload Me
On Error Resume Next
Unload frmHideUnload
On Error GoTo 0
End Sub