Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Email Excel File Automatically using Outlook 2000

I have a excel file. The data in this file gets refreshed
every 30 minutes (using WebQuery). I want this file to be
sent to me at my work email ID once the refresh is
complete.

Is there a way to do this automatically ? I could write a
macro but manual intervention is needed. So wondering if
anyone has any idea on this ?

I am eusing Excel 2000 and Outlook 2000.

Thanks in advance !!
  #2   Report Post  
Posted to microsoft.public.excel.programming
rog rog is offline
external usenet poster
 
Posts: 39
Default Email Excel File Automatically using Outlook 2000

after the code has finished grabbing the data, you could
try :

ActiveWorkbook.SendMail "

Rgds

Rog



-----Original Message-----
I have a excel file. The data in this file gets refreshed
every 30 minutes (using WebQuery). I want this file to be
sent to me at my work email ID once the refresh is
complete.

Is there a way to do this automatically ? I could write a
macro but manual intervention is needed. So wondering if
anyone has any idea on this ?

I am eusing Excel 2000 and Outlook 2000.

Thanks in advance !!
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Email Excel File Automatically using Outlook 2000

Thanks Rog


-----Original Message-----
after the code has finished grabbing the data, you could
try :

ActiveWorkbook.SendMail "

Rgds

Rog



-----Original Message-----
I have a excel file. The data in this file gets

refreshed
every 30 minutes (using WebQuery). I want this file to

be
sent to me at my work email ID once the refresh is
complete.

Is there a way to do this automatically ? I could write

a
macro but manual intervention is needed. So wondering if
anyone has any idea on this ?

I am eusing Excel 2000 and Outlook 2000.

Thanks in advance !!
.

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Email Excel File Automatically using Outlook 2000

This is how I finally got it working.

Since I wanted to grab the data from Web every 30 minutes
and then email me the file automatically .

Let me know if there are any better ways of doing it.

Sub Email()

Dim newHour, newMinute, newSecond As String

Dim Counter As Integer

Counter = 0

Do

Counter = Counter + 1
newHour = Hour(Now())
newMinute = Minute(Now()) + 35
newSecond = Second(Now())
waittime = TimeSerial(newHour, newMinute, newSecond)
Application.Wait waittime

'MsgBox "The name of the active workbook is " &
ActiveWorkbook.Name

ActiveWorkbook.SendMail "), ("Stock
Quotes - Time " & waittime)

If Counter = 13 Then

Exit Do

End If

Loop

End Sub


-----Original Message-----
after the code has finished grabbing the data, you could
try :

ActiveWorkbook.SendMail "

Rgds

Rog



-----Original Message-----
I have a excel file. The data in this file gets

refreshed
every 30 minutes (using WebQuery). I want this file to

be
sent to me at my work email ID once the refresh is
complete.

Is there a way to do this automatically ? I could write

a
macro but manual intervention is needed. So wondering if
anyone has any idea on this ?

I am eusing Excel 2000 and Outlook 2000.

Thanks in advance !!
.

.

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
convert email address file in Excel 2000 to Word file with commas Mike A. Excel Discussion (Misc queries) 8 October 14th 08 02:48 PM
How can I email an excel file using my outlook contacts? cheflady New Users to Excel 4 August 14th 07 01:04 PM
How to send a single page email from excel 2000 using outlook xp vols2812 Excel Worksheet Functions 1 December 30th 06 06:45 PM
How to link to an Excel file when sending an email in Outlook? BFree Excel Discussion (Misc queries) 2 May 1st 06 11:43 AM
make appointment in outlook and send email reminder - all data in excel 2000 DL[_3_] Excel Programming 2 August 5th 03 11:08 PM


All times are GMT +1. The time now is 08:25 PM.

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

About Us

"It's about Microsoft Excel"