i have a shared excel worksheet that i want know if some one open it, notify me via mail or Facebook notification, I want VBA code can handle this option
it's Great work, but i want a progress option, that i want follow my worksheet automatically without the user activate the required macro, that i want a report that notify my about the users who open this worksheet, i want this macro notify me about the users by his PC account username
Afarag,
The Event macro that I posted would get triggered automatically, no need for the user to activate the macro.
If you need info about the user, you could capture that info via
Code:
MyString = Application.UserName
The link I posted shows you how to send the email.
Note that the user will be aware that an email is being sent. Sending email from a persons computer w/o their knowledge at some level is considered a type of trojan, so there are several built in security features that will get alerted. The most common work-around is that the user sees a pop-up informing them that a macro is trying to send an email, and they just have to click "ok" to allow it.