Outlook copy ReceivedDate / SentOn fields to clipboard?

benz

New Member
Joined
Mar 23, 2022
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
Hi all,

I am wondering if there is a way using VBA in Outlook to be able to copy the ReceivedDate or SentOn field of the currently selected e-mail to the clipboard?

I am manually reading and typing the ReceivedDate of e-mails and then typing it into a data entry form to save the e-mail into a document management system. I am thinking there must be a way to copy that to the clipboard, and then i can just CtrlV it into the data entry form.

It would need to be in this format: YYYYMMDD_HHHHMMSS

When I say ReceivedDate or SentOn field - this is because I am saving both incoming and outbound e-mails.

Many thanks,

Ben
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,223,964
Messages
6,175,659
Members
452,666
Latest member
AllexDee

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