Dec 12, 2006 #1 Shift838 IS-IT--Management Jan 27, 2003 987 US Where can I get a complete listing of all the Environ variables that can be used in VBA?
Dec 12, 2006 #2 PHV MIS Nov 8, 2002 53,708 FR Open a console window and type set Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
Open a console window and type set Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Dec 12, 2006 Thread starter #3 Shift838 IS-IT--Management Jan 27, 2003 987 US thanks, I was really hoping that MS had one for like full name or display name. Guess UserName will have to work. Chris Upvote 0 Downvote
thanks, I was really hoping that MS had one for like full name or display name. Guess UserName will have to work. Chris
Dec 12, 2006 #4 PHV MIS Nov 8, 2002 53,708 FR Another (VBA) way: i = 1 Do EnvString = Environ(i) If EnvString = "" Then Exit Do Debug.Print EnvString i = i + 1 Loop Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
Another (VBA) way: i = 1 Do EnvString = Environ(i) If EnvString = "" Then Exit Do Debug.Print EnvString i = i + 1 Loop Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886