Retrieving my Lotus Notes email address

kotzo

Board Regular
Joined
Aug 1, 2010
Messages
119
Hi,

I created a macro code that will be used by 20 users.
This code sends at the end through Lotus Notes an email to different recipients with an attachment.
The code is in a network directory and not on every desktop of the users.

Depending on the user that runs the code, the attachment (is a workbook)
that will be created should have in a cell the lotus notes email address
of the user that runs the code.

Could you please help me to find a way to "extract" the email address with VBA ?

Thanks in advance,

Kotzo

P.S. I don't want to create 20 copies of the code, with the user email information in every copy.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,224,595
Messages
6,179,799
Members
452,943
Latest member
Newbie4296

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top