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]
__._,_.___
----------------------------------
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
----------------------------------
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