Hem / Tips & tricks
Dim username As StringDim slength As LongDim retval As Longusername = Space(255)slength = 255retval = GetUserName(username,slength)username = Left(username,slength-1)