ray88’s diary

お仕事で困ったとき用の自分用の覚書

VBA PCのログインユーザIDを取得する

Function fncGetUserID()
fncGetUserID = Environ$("UserName")
End Function