Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i have starting dates in a workbook called dates in range B1:B12 (the closed
workbook) i am trying to subtract one from the another to come up with the number of days. i can get it to work if dates is open. tried this, doesn't work but don't want to spin my wheels if it's not possible. sheet numbers are 1 to 12. pDays = Application.Evaluate("='" & fPath & "[dates.xls]sheet1'!$b$" & sht.Index + 1) - _ Application.Evaluate("='" & fPath & "[dates.xls]sheet1'!$b$" & sht.Index) - 1 is it possible? -- Gary |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Subtract if dates in the range between 2 dates. | Excel Worksheet Functions | |||
Subtract two dates | Excel Discussion (Misc queries) | |||
How do you Subtract dates in VBA | Excel Programming | |||
copy worksheet from closed workbook to active workbook using vba | Excel Worksheet Functions | |||
subtract dates | Excel Programming |