Capture Creation Time

M

Micah Chaney

Hi, I'm very new to programming VBScript. I managed to get a field populated
with the Current User at the opening of a Form. However, I need help
capturing the CreationTime to the [Created] field. Can someone fix my code.
I'm sure I have to set it some how, but I don't know how. I'm on Outlook
2003. Thanks.

Function Item_Open()
Set myNameSpace = Application.GetNameSpace("MAPI")
CompanyName=myNameSpace.CurrentUser
Created=CreationTime
End Function
 
Top