Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Am more familiar with Access, but have created a function in XL07 as follows:
Public Function AgeIt() Selection.NumberFormat = "0.00" ActiveCell.FormulaR1C1 = "=(TODAY()-RC[-1])/365" AgeIt = ActiveCell.FormulaR1C1 End Function to calculate a person's age when the birthday is in the cell to the left. When I select the function and insert it into a cell, I get =AgeIt() on the formula bar, but #VALUE! in the cell. What am I missing??? Thanks in advance for your help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I create a user defined function in excel? | Excel Discussion (Misc queries) | |||
Create User Defined Folder | Excel Programming | |||
How to create User Defined function in Excel | Excel Programming | |||
How to create User Defined Function | Excel Programming | |||
Create help for user-defined function | Excel Programming |