Search : in
By :

Auto notify or mail when excel sheet updated.

Last answer on Oct 24, 2009 12:57:07 pm BST Satya, on Jun 12, 2009 1:24:32 pm BST 
 Report this message to moderators

Hello,

We have a Excel which is saved to a network drive and used by multiple users. What i need is when somebody updates the excel sheet or puts any value or comments on the sheet, it will notify me or auto mail me that the excel sheet is updated. I mean instead of going again and agian to check whether somebody changed the sheet or not it will notify or auto mail to me.

Any kind of help appreciated. Whether i need any software or any VB, Macro can solve the purpose.

Thank you,
Satya

Configuration: Windows XP Internet Explorer 6.0

Best answers for « Auto notify or mail when excel sheet updated. » in :
Create an Attendance Report with Excel sheet ShowCreate an Attendance Report with Excel sheet Issue Solution Issue In the case you want to create an attendance report with Excel , here below you will find a nice example: Consider that your report will have the following...
How to freeze a row in an excel sheet ShowHow to freeze a row in an excel sheet To freeze a line in an excel sheet, for example line 1: Select line 2. Go to menu Window and select Freeze panes.
How to convert a numeric value into english Word? ShowHow to convert a numeric value into english Word? To convert a numeric value into eng. Word, here is the formula you will need This is a post from the forum, thanks to rajput391 Below code enter in excel sheet: 1. Press Alt+F11 >...

1

shark2000br, on Jun 30, 2009 4:42:54 pm BST
  • +2

Hi, I just had this problem and poked around until I found a solution, so here I am passing it on to you. This will automatically send an email to any address/addresses whenever the workbook is saved. The only problem I have with it is that if you save it, you get the prompt, and when you close, excel automatically prompts you again. As long as you don't do a redundant save then you won't get a redundant auto email notification :)





Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, _
Cancel As Boolean)

Dim answer As String

answer = MsgBox("This is where you put the text to prompt the user if he wants to save or not" vbYesNo, "here is the title of that box")

If answer = vbNo Then Cancel = True
If answer = vbYes Then
'open outlook type stuff
Set OutlookApp = CreateObject("Outlook.Application")
Set OlObjects = OutlookApp.GetNamespace("MAPI")
Set newmsg = OutlookApp.CreateItem(olMailItem)
'add recipients
'newmsg.Recipients.Add ("Name Here")
newmsg.Recipients.Add ("sampleemailaddresshere@email.com")
'add subject
newmsg.Subject = "Subject line of auto email here"
'add body
newmsg.Body = "body of auto email here"
newmsg.Display 'display
newmsg.Send 'send message
'give conformation of sent message
MsgBox "insert confirmation box test here", , "title of confirmation box"



End If


'save the document
'Me.Worksheets.Save

End Sub

Reply to shark2000br

2

satya, on Sep 1, 2009 12:32:02 pm BST

Hi Shark,

Hey its working fine, i have downloaded the Advanced Security Option from MAPI lab so it is not asking anything and able to send mail automatically.

Thanks a lot

Reply to satya

3

Archana, on Sep 29, 2009 5:58:33 am BST

Hi,
I am trying to create an excel sheet which has some data like meet HR on the 29th sept and so i need to recieve a mail reminder saying please meet HR. I am using Outlook express . Actual work of the excel sheet is to send email reminders about pending RFQ.
So please can u help me with the same.

Reply to Archana

4

satya, on Sep 30, 2009 6:27:55 pm BST

Hi Archana,

When we need to auto notify based on a excel sheet data, the VBA code needs outlook. I mean to say. Excel sheet with the help of outlook send a mail or reminder to the respective mail ID. I think outlook express don't have that kind of support to send a reminder.

Though i can send you a VBA that sends mail reminder on the basis of date of project but it needs outlook, i hope it will not work with outlook express. If you need that excel sheet with macro. let me know... my mail id is satiya03@gmail.com


thanks,
Satya

Reply to satya

5

harsh, on Oct 5, 2009 4:27:03 pm BST

Hi Satya,

I am trying to send mail to individual on a defined date in excel sheet as a reminder using excel and outlook. Can you help me ragarding this? My mail ID is kulkarnihd@indiatimes.com

regards,
Harsh

Reply to harsh

7

 kiru, on Oct 21, 2009 12:41:17 pm BST

Hi satya,
i was amazed to see shark's coding.
could you please explain me where to paste those codings in the excell.
thanks!

Reply to kiru

6

kiru, on Oct 21, 2009 12:40:05 pm BST

Hi.. i am kiru.
i am impressed by the concept of your codings.
by the way, can you please explain me where exactly to paste your coding and what are the basic steps that i need to follow before i do this.?

it will be really helpful if this code works for me.

Regards,
Kiru.

Reply to kiru