I have posted this at the end of my last thread but I wanted to ask it formally to better a response.
I want to retrieve the full name of the user when they enter my database to greet them and to use else where. Assuming Microsoft Outlook is open, is there anyway to retrieve their name??
I have this as a starter:
Now is there any property or method that would retrieve the "Name" field in outlook for their email address or windows username that I'm assuming Outlook uses to open the correct Email account when the user logs in.
I'm able to pull the user name with:
environ%("username").
Any thoughts? Thanks for any help
I want to retrieve the full name of the user when they enter my database to greet them and to use else where. Assuming Microsoft Outlook is open, is there anyway to retrieve their name??
I have this as a starter:
Code:
Dim olapp As Outlook.Application
Dim mailoutlook As Outlook.MailItem
Set olapp = CreateObject("outlook.application")
Set mailoutlook = olapp.CreateItem(olMailItem)
Now is there any property or method that would retrieve the "Name" field in outlook for their email address or windows username that I'm assuming Outlook uses to open the correct Email account when the user logs in.
I'm able to pull the user name with:
environ%("username").
Any thoughts? Thanks for any help