Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Timestamp from Outlook

Hi. Every week I run a procedure that saves the attachments from a bunch of
e-mails with a single folder to 1 large file. My question is this - can I
somehow also, for each file, pull in the timestamp from when the e-mail was
received??


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default Timestamp from Outlook

Steph

Use the ReceivedTime property of the MailItem object.

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Steph" wrote in message
...
Hi. Every week I run a procedure that saves the attachments from a bunch

of
e-mails with a single folder to 1 large file. My question is this - can I
somehow also, for each file, pull in the timestamp from when the e-mail

was
received??




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Timestamp from Outlook

Thanks Dick. Do you know of any sample syntax?

"Dick Kusleika" wrote in message
...
Steph

Use the ReceivedTime property of the MailItem object.

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Steph" wrote in message
...
Hi. Every week I run a procedure that saves the attachments from a

bunch
of
e-mails with a single folder to 1 large file. My question is this - can

I
somehow also, for each file, pull in the timestamp from when the e-mail

was
received??






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default Timestamp from Outlook

As a matter of fact I do. I should have included that in my answer, sorry
about that.

http://www.dicks-clicks.com/excel/olRetrieving.htm

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Jack" wrote in message
...
Thanks Dick. Do you know of any sample syntax?

"Dick Kusleika" wrote in message
...
Steph

Use the ReceivedTime property of the MailItem object.

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Steph" wrote in message
...
Hi. Every week I run a procedure that saves the attachments from a

bunch
of
e-mails with a single folder to 1 large file. My question is this -

can
I
somehow also, for each file, pull in the timestamp from when the

e-mail
was
received??








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Timestamp from Outlook

Thanks Dick. I checked it out, but admit I'm real good at this stuff.
Recall that my procedure saves all attachments to a specific folder (not an
outlook folder). I have a counter in place and am renaming the files
arbitrarily based on that. Would it be easy to save the filename as the
ReceivedTime? I guess the one pre-req I should have asked is Can 2 e-mails
arrive at the exact same time, and therefore have the exact same
ReceivedTime?

Thanks Dick!!!!!!!!!!!!!!
"Dick Kusleika" wrote in message
...
As a matter of fact I do. I should have included that in my answer, sorry
about that.

http://www.dicks-clicks.com/excel/olRetrieving.htm

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Jack" wrote in message
...
Thanks Dick. Do you know of any sample syntax?

"Dick Kusleika" wrote in
message
...
Steph

Use the ReceivedTime property of the MailItem object.

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Steph" wrote in message
...
Hi. Every week I run a procedure that saves the attachments from a

bunch
of
e-mails with a single folder to 1 large file. My question is this -

can
I
somehow also, for each file, pull in the timestamp from when the

e-mail
was
received??












  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Timestamp from Outlook

Sorry Dick, my previous post shoud have read But I admit I'm NOT real good
at this stuff!!!!!! Stressing the word NOT!!
Sorry....that typo made me sound like a know-it-all pompous ass!!
"Steph" wrote in message
...
Thanks Dick. I checked it out, but admit I'm real good at this stuff.
Recall that my procedure saves all attachments to a specific folder (not
an outlook folder). I have a counter in place and am renaming the files
arbitrarily based on that. Would it be easy to save the filename as the
ReceivedTime? I guess the one pre-req I should have asked is Can 2
e-mails arrive at the exact same time, and therefore have the exact same
ReceivedTime?

Thanks Dick!!!!!!!!!!!!!!
"Dick Kusleika" wrote in message
...
As a matter of fact I do. I should have included that in my answer,
sorry
about that.

http://www.dicks-clicks.com/excel/olRetrieving.htm

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Jack" wrote in message
...
Thanks Dick. Do you know of any sample syntax?

"Dick Kusleika" wrote in
message
...
Steph

Use the ReceivedTime property of the MailItem object.

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Steph" wrote in message
...
Hi. Every week I run a procedure that saves the attachments from a
bunch
of
e-mails with a single folder to 1 large file. My question is this -

can
I
somehow also, for each file, pull in the timestamp from when the

e-mail
was
received??












Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
timestamp james Excel Worksheet Functions 2 May 17th 09 06:16 PM
Timestamp juanpablo Excel Discussion (Misc queries) 3 November 2nd 07 01:55 PM
Timestamp Sher Excel Discussion (Misc queries) 2 November 3rd 06 04:31 PM
Now as timestamp Lp12 Excel Worksheet Functions 5 August 13th 06 11:32 AM
timestamp tommyboy[_3_] Excel Programming 6 July 7th 04 10:19 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"