A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Is there a way to set the color of the follow up flag?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 28th 06, 06:26 PM posted to microsoft.public.outlook.program_vba
rrmando
external usenet poster
 
Posts: 4
Default Is there a way to set the color of the follow up flag?

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  
Old April 28th 06, 06:41 PM posted to microsoft.public.outlook.program_vba
KePaHa
external usenet poster
 
Posts: 11
Default Is there a way to set the color of the follow up flag?

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  
Old April 28th 06, 08:12 PM posted to microsoft.public.outlook.program_vba
rrmando
external usenet poster
 
Posts: 4
Default Is there a way to set the color of the follow up flag?

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  
Old May 16th 06, 04:37 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Is there a way to set the color of the follow up flag?

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
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 08:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.