Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro Emailing Challenging Problem

Hello,

I have a two part problem.

First let me explain the sheet. My sheet has three fields
of interest, a stock price, and an upper limit and a lower
limit. The stock price is automatically updated from
Bloomberg.

I am trying to create an E-mail notification system that
will notify if the price breaks either limit. So far I
have created a macro that can check if the price is within
the limits and if not it will e-mail me. It works fine.

My problem is having the macro check the price about every
few minutes or so and having the spreadsheet open
automatically and macro run automatically. If I am away
from my desk I do not want 30 e-mails telling me the same
thing.

I guess what I am looking for is a way to create
a "listener" that can tell if the price has changed and
run the test/email macro again.

Thank you in advance for whatever help you can give me.

-Sandip
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default Macro Emailing Challenging Problem

an idea is....

1) Set up a start price in Sheet2!a1 (dummy cell)

2) when you download the data, compare if the new value is different from
Sheet2!a1
if so then run e-mail it.

3) Paste the current stock Value to sheet2 a1

and so on.

if you dont want to have Excel open all the time you can create an .BAT file
that will open your excel file and shedule at time intervals



hope it helps.


CZ






"Sandip" wrote in message
...
Hello,

I have a two part problem.

First let me explain the sheet. My sheet has three fields
of interest, a stock price, and an upper limit and a lower
limit. The stock price is automatically updated from
Bloomberg.

I am trying to create an E-mail notification system that
will notify if the price breaks either limit. So far I
have created a macro that can check if the price is within
the limits and if not it will e-mail me. It works fine.

My problem is having the macro check the price about every
few minutes or so and having the spreadsheet open
automatically and macro run automatically. If I am away
from my desk I do not want 30 e-mails telling me the same
thing.

I guess what I am looking for is a way to create
a "listener" that can tell if the price has changed and
run the test/email macro again.

Thank you in advance for whatever help you can give me.

-Sandip



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
Challenging Problem [email protected] Excel Discussion (Misc queries) 1 June 22nd 07 12:58 AM
Emailing Macro ChuckF Excel Worksheet Functions 2 March 29th 06 05:00 PM
Challenging Problem Naji Excel Discussion (Misc queries) 1 January 11th 06 05:05 PM
Challenging Graph problem! Qwerty Charts and Charting in Excel 2 December 13th 05 03:54 PM
Help with macro for emailing redheadjess Excel Discussion (Misc queries) 0 October 21st 05 02:17 PM


All times are GMT +1. The time now is 11:34 PM.

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"