I have a sub routine that searches the Outlook PST for a message sent
to/from a particular email address. Obviously, this can take a long time
when the PST contains thousands of messages. I'd like to put a button on my
Access 20003 form that will stop the sub routine when clicked. I know I can
press Ctl + Break and stop the code, but is there a more graceful way to do
this programmaticall y? Should I use SendKeys?
Also, it would be nice to have the datasheet (that shows the results of the
email search) populate with the found message headers as they are found -
I'm still thinking about how to do this.... any thoughts/suggestions are
very welcome!!
thanks!
to/from a particular email address. Obviously, this can take a long time
when the PST contains thousands of messages. I'd like to put a button on my
Access 20003 form that will stop the sub routine when clicked. I know I can
press Ctl + Break and stop the code, but is there a more graceful way to do
this programmaticall y? Should I use SendKeys?
Also, it would be nice to have the datasheet (that shows the results of the
email search) populate with the found message headers as they are found -
I'm still thinking about how to do this.... any thoughts/suggestions are
very welcome!!
thanks!
Comment