2020-11-20 VBA PCのログインユーザIDを取得する Function fncGetUserID() fncGetUserID = Environ$("UserName") End Function