Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Send Email when spreadsheet is updated

I have created a spreadsheet and I'm wondering if it possible to set the
spreadsheet up so that it emails me when a user changes it? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Send Email when spreadsheet is updated

Hi XFILES

You can set a boolean and use the beforesave event to mail maybe
Copy this In the thisworkbook module

Public OkToSend As Boolean

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
If OkToSend = True Then
MsgBox "call your macrio here"
OkToSend = False
End If
End Sub

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
OkToSend = True
End Sub

For mail code look here
http://www.rondebruin.nl/sendmail.htm




--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"XFILES" wrote in message ...
I have created a spreadsheet and I'm wondering if it possible to set the
spreadsheet up so that it emails me when a user changes it? Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Send Email when spreadsheet is updated

Use the subscription featu

http://office.microsoft.com/en-us/he...701161033.aspx

P.
--
Overcome Sales Barriers
http://salesbarriers.typepad.com/


"Ron de Bruin" wrote:

Hi XFILES

You can set a boolean and use the beforesave event to mail maybe
Copy this In the thisworkbook module

Public OkToSend As Boolean

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
If OkToSend = True Then
MsgBox "call your macrio here"
OkToSend = False
End If
End Sub

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
OkToSend = True
End Sub

For mail code look here
http://www.rondebruin.nl/sendmail.htm




--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"XFILES" wrote in message ...
I have created a spreadsheet and I'm wondering if it possible to set the
spreadsheet up so that it emails me when a user changes it? Thanks.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Send multiple email in Excel Appache Excel Discussion (Misc queries) 6 October 20th 06 05:51 PM
triggering an email alert from within a spreadsheet based upon a d just-curious---george Excel Discussion (Misc queries) 0 March 24th 06 01:43 AM
Excel will not let me send via email Johnfli Excel Discussion (Misc queries) 1 February 25th 06 03:09 AM
How do I automatically send daily email of updated Excel workbook. How to automate emails with excel file. Excel Discussion (Misc queries) 1 May 9th 05 08:55 PM
How do I cancel sending a spreadsheet by email? Cendra Excel Discussion (Misc queries) 3 December 2nd 04 09:55 PM


All times are GMT +1. The time now is 04:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"