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

Developer technologies | Visual Basic for Applications
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tom van Stiphout 40,086 Reputation points MVP Volunteer Moderator
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.