Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I have tried ; Application.Worksheetfunction.Datevalue(...) but it seems Datevalue isn't available (other worksheet functions are). I suspect this may be a missing reference in the VBA. Any suggestions? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The DateValue function exists as a native VBA function. It converts a text
representation of a date into an Excel date (a serial number). For example: MsgBox DateValue("12/2/2009") - 30 returns 11/2/2009 (the date value of 12/2/2009 minus 30 days). Hope this helps, Hutch "Office Engineer" wrote: Hi I have tried ; Application.Worksheetfunction.Datevalue(...) but it seems Datevalue isn't available (other worksheet functions are). I suspect this may be a missing reference in the VBA. Any suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with DateValue function (part 2) | New Users to Excel | |||
Help with DateValue function. | New Users to Excel | |||
Conditional Sum and DATEVALUE function | Excel Worksheet Functions | |||
datevalue | Excel Worksheet Functions | |||
Using DateValue function | Excel Programming |