![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hello all. I am currently emailing from Excel (Outlook 2003), but am
interested in finding out if there is a way to set the color of the follow-up flag in Outlook with VB. Outlook 2003 gives the option of setting the color of the follow up flag to Red, Blue, Yellow, Green, Orange, or Purple. I've looked around but have been unable to find any info on this. Thank you for your help. |
Ads |
#2
|
|||
|
|||
![]()
object.FlagIcon = olYellowFlagIcon or olBlueFlagIcon, etc.
"rrmando" wrote: Hello all. I am currently emailing from Excel (Outlook 2003), but am interested in finding out if there is a way to set the color of the follow-up flag in Outlook with VB. Outlook 2003 gives the option of setting the color of the follow up flag to Red, Blue, Yellow, Green, Orange, or Purple. I've looked around but have been unable to find any info on this. Thank you for your help. |
#3
|
|||
|
|||
![]()
Thanks for the info. I'm a rookie with VB, can you please show me how
to adapt to this code? I've tried unsuccessfully. Thank you. Dim EmailTo As String Dim oApp As Object Dim oItem As Object Dim recipients As String recipients = " EmailTo = recipients Set oApp = CreateObject("Outlook.Application", "localhost") Set oItem = oApp.CreateItem(0) With oItem ..To = EmailTo ..CC = .SenderEmailAddress ..Subject = NewName ..Attachments.Add ActiveWorkbook.FullName ..Body = "Please approve this purchase requisition by replying directly to this email. If you have question about this Req, please email or call the requester separately. Do not reply to this message if you do not approve it. Thanks" ..HTMLBody = SheetToHTML(ActiveSheet) ..Importance = 1 ..Send End With Set oItem = Nothing Set oApp = Nothing |
#4
|
|||
|
|||
![]()
What didn't work? I don't see that you incorporated KePaHa's suggestion into your code yet. That suggestion tells you what property to set and what values are valid.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "rrmando" wrote in message oups.com... Thanks for the info. I'm a rookie with VB, can you please show me how to adapt to this code? I've tried unsuccessfully. Thank you. Dim EmailTo As String Dim oApp As Object Dim oItem As Object Dim recipients As String recipients = " EmailTo = recipients Set oApp = CreateObject("Outlook.Application", "localhost") Set oItem = oApp.CreateItem(0) With oItem .To = EmailTo .CC = .SenderEmailAddress .Subject = NewName .Attachments.Add ActiveWorkbook.FullName .Body = "Please approve this purchase requisition by replying directly to this email. If you have question about this Req, please email or call the requester separately. Do not reply to this message if you do not approve it. Thanks" .HTMLBody = SheetToHTML(ActiveSheet) .Importance = 1 .Send End With Set oItem = Nothing Set oApp = Nothing "KePaHa" wrote in message ... object.FlagIcon = olYellowFlagIcon or olBlueFlagIcon, etc. "rrmando" wrote: Hello all. I am currently emailing from Excel (Outlook 2003), but am interested in finding out if there is a way to set the color of the follow-up flag in Outlook with VB. Outlook 2003 gives the option of setting the color of the follow up flag to Red, Blue, Yellow, Green, Orange, or Purple. I've looked around but have been unable to find any info on this. Thank you for your help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
flag to follow up not working | mel waite | Outlook - Using Forms | 1 | May 3rd 06 03:26 PM |
Code to set an auto follow up flag | A Don | Outlook - Using Forms | 1 | April 21st 06 12:19 PM |
flag to follow up not working | mel waite | Outlook - Using Contacts | 2 | April 10th 06 10:35 AM |
flag to follow up not working | mel waite | Outlook - General Queries | 0 | April 9th 06 02:37 PM |
Follow up Flag | JCO | Outlook - General Queries | 11 | March 23rd 06 03:33 PM |