subject in outlook

2007-11-02 4:55 pm
I use outlook to send email.

However, I usually miss fill the subject.
Can outlook remind me to do this so that my email can be sent

回答 (1)

2007-11-02 5:22 pm
✔ 最佳答案
There is no such option with outlook, as its not good enough
but you may try to create a macro to remind you, it will intercept any email send without a header

To create the macro in Outlook 2003, go to Tools -> Macro -> Visual Basic Editor (this feature has to be installed). In Microsoft Office Outlook Objects -> ThisOutlookSession, paste the following code:


Private Sub Application_ItemSend _
(ByVal Item As Object, Cancel As Boolean)
Dim strMessage As String
Dim lngRes As Long
If Item.Subject = "" Then
Cancel = True
strMessage = "Please fill in the subject before sending."
MsgBox strMessage, _
vbExclamation + vbSystemModal, "Missing Subject"
Item.Display
End If
End Sub

If you already have code in the Application_Itemsend section, you can include this before or after it (probably afterward); just make sure there are no duplicate variable declarations or anything else that might interfere with it running.


收錄日期: 2021-04-29 21:33:59
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20071102000051KK00449

檢視 Wayback Machine 備份