I am trying to get the Office 365 Account information (User Email ID) in Excel with the help of VBA code

Yogigang 1 Reputation point
2021-07-14T07:18:52.953+00:00

I am trying to retrieve User Information Email ID with which the Office 365 is registered. This is also available in File Tab > Account > Account Information or File Tab > Account > Account Information > Belongs to under Product Information section

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tom van Stiphout 1,696 Reputation points MVP
    2021-07-16T01:10:29.027+00:00

    That information is not available to the VBA programmer.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.