WOW imagine that it work !!!! LOL thanks
________________________________
From: Torstein Johnsen <sejohnse@yahoo.no>
To: "ExcelVBA@yahoogroups.com" <ExcelVBA@yahoogroups.com>
Sent: Saturday, March 10, 2012 7:30 AM
Subject: Vedr: [ExcelVBA] Userform Date
JIMNEELY!
try cells(x,x) = now()
regards
Torstein
________________________________
Fra: JIMNEELY <jimneely@yahoo.com>
Til: ExcelVBA@yahoogroups.com
Sendt: Fredag, 9. mars 2012 20.24
Emne: [ExcelVBA] Userform Date
I have a big mental block going on. For some reason I can not figure out how to add the date to a spreadsheet from a userform. What I mean is the user puts all this stuff into the userform and then hits "OKAY" from there I want to add this stuff to the spreadsheet plus the TODAY's DATE. I am thinking the following
Dim MyDate
MyDate = Date
Cells(X,X).Value = Mydate
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.
----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA
----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com
----------------------------------
Tidak ada komentar:
Posting Komentar