Hi,
I have this code to initialise a label on a splash screen.
Private Sub UserForm_Initialize()
Label1.Caption = Environ("username"
End Sub
This can give me fred.flintstone or barney.rubble (says something aabout where I'm working!).
How can I extract the first name?
Cheers,
Henio
I have this code to initialise a label on a splash screen.
Private Sub UserForm_Initialize()
Label1.Caption = Environ("username"
End Sub
This can give me fred.flintstone or barney.rubble (says something aabout where I'm working!).
How can I extract the first name?
Cheers,
Henio