C
capri_corn_ripe
Hi
I am using following code to get time stamp and subject from a mail
item
Sub TimeStampDigger()
Dim i%, myItem As Outlook.MailItem, excelApp As Object, excelBook
As Object
Set myItem =
Application.Session.GetDefaultFolder(olFolderInbox).Items(1)
myTime = myItem.ReceivedTime
Set excelApp = CreateObject("Excel.Application")
Set excelBook = excelApp.Workbooks
excelBook.Open ("C:\Documents and Settings\n.bansal\Desktop\Report
Delivery Performance")
End Sub
I am having problems in getting the subject.
Kindly help.
Nitesh
I am using following code to get time stamp and subject from a mail
item
Sub TimeStampDigger()
Dim i%, myItem As Outlook.MailItem, excelApp As Object, excelBook
As Object
Set myItem =
Application.Session.GetDefaultFolder(olFolderInbox).Items(1)
myTime = myItem.ReceivedTime
Set excelApp = CreateObject("Excel.Application")
Set excelBook = excelApp.Workbooks
excelBook.Open ("C:\Documents and Settings\n.bansal\Desktop\Report
Delivery Performance")
End Sub
I am having problems in getting the subject.
Kindly help.
Nitesh