Outlook Command

Audiojoe

Active Member
Joined
Feb 20, 2002
Messages
285
Afternoon you crazy cats,

I have some lovely VB code in a module to send an email, it contains such gems as:

.subject "My friend fancies you"
.body "Tick YES or NO"

and other such crud. But can anyone tell me what the command line is to make the mail flagged for follow up?

I've tried .followup but no **** good

First person to help me gets my total admiration until 5:04pm GMT, when I expect to find another problem that needs solving
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Try with

.FlagStatus
.FlagDueBy
.FlagRequest


-------------

FlagDueBy Property
See Also Applies To Example Specifics
Returns or sets a Date specifying the date by which this mail message is due. This property is only valid if the FlagStatus property is also set for the message. This property corresponds to the MAPI property PR_REPLY_TIME. Read/write.

expression.FlagDueBy

expression Required. An expression that returns one of the objects in the Applies To list.

------------------------

FlagRequest Property
See Also Applies To Example Specifics
Returns or sets a String indicating the requested action for the mail message. This is a free-form text field. This property is only valid if the FlagStatus property is also set for the message. Read/write.

expression.FlagRequest

expression Required. An expression that returns one of the objects in the Applies To list.

----------------------

FlagStatus Property
See Also Applies To Example Specifics
Returns or sets an OlFlagStatus constant indicating the flag status for the mail message. Read/write.

OlFlagStatus can be one of these OlFlagStatus constants.
olFlagComplete
olFlagMarked
olNoFlag


expression.FlagStatus

expression Required. An expression that returns one of the items in the Applies To list.
 
Upvote 0
Thanks for the reply, I can't get it to work though. What single command should I be inserting that will put a follow up flag on the mail?
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,655
Members
448,975
Latest member
sweeberry

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top