Minggu, 15 Januari 2012

[ExcelVBA] Datedif and day-of-week?

 

*If I have Tool Analysis pak installed, how would I determine what the day
of the week is for a date such as January 12, 1805?

One possible way I thought of was to grab the month, day, and add 400 to
the year. Then use weekday function to get the weekday, however a quick
test of looking up that date on the Internet and excel show different days
of the week, so I wonder if 400 is the wrong number to use?
*
*Thank you.

**Robert*
*Genealogy without documentation is mythology! Always SOURCE your work.*

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
----------------------------------
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

----------------------------------
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Tidak ada komentar:

Posting Komentar