Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Is there any VBA equivalent to... (OL 2003)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Loungers

    Is there an equivalent VBA code that would work like the Using Colors to organize the Inbox?

    So if I set all messages from the Lounge to be displayed in <font color=red>Red</font color=red> via one of the ways to organize my Inbox, can I write some VBA code to run when I want to run it, or when messages come in to do the same?

    I want to color some messages to have them stand out.

    I know about the flags thing, but I am running out of flags.

    Thanks for any help

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Is there any VBA equivalent to... (OL 2003)

    Messages are colored using "Automatic Formatting." This feature is a subset of the folder's view. The view is not very programmable in VBA, but you will notice that it is exposed as an XML string. In a past thread, we did an experiment trying to change the way gridlines appeared. The XML string proved not so difficult to edit, but Outlook seemed to ignore the changes! That was before I had Outlook 2003, so maybe the results are different in the latest version. Or was it the other way around? Perhaps you could search for that one. <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15>

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Is there any VBA equivalent to... (OL 2003)

    Jefferson's gridline post is <post#=384795>post 384795</post#>. The .bas module in the zip file includes code to dump the view XML schema.

    Post back if you figure out how to make your changes.
    -John ... I float in liquid gardens
    UTC -7ąDS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •