Hello all,
Im using the following code to change the caption of labels
But when i close the userform and reopen it, the caption resets. The new value isn't stored.
Anyone knows how i can automatically save the new caption after i changed it?
Im using the following code to change the caption of labels
Code:
rivate Sub Label5_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
Dim stCaption As String
stCaption = InputBox("Add new caption", , Label5)
If stCaption = vbNullString Then Exit Sub
Label5 = stCaption
End Sub
But when i close the userform and reopen it, the caption resets. The new value isn't stored.
Anyone knows how i can automatically save the new caption after i changed it?