Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have a VBA function that I am using in several worksheets (i.e. - each cell in column K says the following: =getvintagerate(A41), where getvintagerate expects a variant and returns a double). When I change dependent cells in the worksheets, the functions do not automatically recalculate. I tried writing code that fires on the workbook_sheetchange event and calculates all sheets, but when I do that all my cells that call the VBA function return #VALUE!. If I go into each cell and recalc (go to each cell, hit F2, then hit Enter) the functions return the correct value. I don't know if this matters, but I am using Excel 2007. Any ideas?????? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calling a Sub in a Worksheet | Excel Programming | |||
Calling another worksheet | Excel Programming | |||
calling worksheet function from a macro | Excel Worksheet Functions | |||
calling VBA function within a worksheet | Excel Programming | |||
calling a function in a worksheet from a user form | Excel Programming |