PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Reading value on Outlook startup and persisting

Reply

Reading value on Outlook startup and persisting

 
Thread Tools Rate Thread
Old 08-08-2004, 05:15 PM   #1
Kirk Larsen
Guest
 
Posts: n/a
Default Reading value on Outlook startup and persisting


I am working on a vb macro and have come to a point that has stumped
me. Forgive me, but I'm still a novice when it comes to this.

Here is my problem: I am using the startup event to read a value
stored on a file. Then, I have a macro that runs on command which
performs operations on the selected email messages. I want to persist
that value read at startup so that whenever the macro is executed,
I'll have access to that value. Any ideas?
  Reply With Quote
Old 08-08-2004, 07:06 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Reading value on Outlook startup and persisting

You need to declare a module-level or global variable to hold the
information.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Kirk Larsen" <spamme@kirklarsen.com> wrote in message
news:4628ab88.0408080815.5c07ada9@posting.google.com...
> I am working on a vb macro and have come to a point that has stumped
> me. Forgive me, but I'm still a novice when it comes to this.
>
> Here is my problem: I am using the startup event to read a value
> stored on a file. Then, I have a macro that runs on command which
> performs operations on the selected email messages. I want to persist
> that value read at startup so that whenever the macro is executed,
> I'll have access to that value. Any ideas?



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off