Userform: I want to automatically add in the date that the entry was made into the userform. When user clicks enter, the information moves to a spreadsheet. I want an automatic date to appear in a column in the spreadsheet to track the entry.
Userform: I want to automatically add in the date that the entry was made into the userform. When user clicks enter, the information moves to a spreadsheet. I want an automatic date to appear in a column in the spreadsheet to track the entry.
Adjust this to suit
![]()
Cells(1,1).Value=Date
Last edited by royUK; 12-21-2009 at 04:06 PM.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
An interesting use of "Timestamping" can be found here http://chandoo.org/wp/2009/01/08/tim...-formula-help/
Click here to read the Forum Rules
Whatever it is in life you decide to go after, go after with great ferocity.
Hi
A couple of lines of code like
The first line inserts the current date and the second formats the appearance.![]()
Let Cells(1, 1).Value = Now Let Cells(1, 1).NumberFormat = "mm/dd/yy"
Regards
Jeff
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks