Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Lectori salutem,
In an Excel 2002 workbook I have named formulas, e.g. WeekNumber, defined (while in cell A2) as =1+INT((!A1-DATE(YEAR(!A1+4-WEEKDAY(!A1+6));1;5)+WEEKDAY(DATE(YEAR(!A1+4-WEEKDAY(!A1+6));1;3)))/7) (Thx2 Chris Pearson and Evert van den Heuvel) It calculates the weeknumber of the date in the cell directly above the cell containing the formula. Now whenever I run a macro like J.E. McGimpsey's ListFormulasInWorkbook (see <http://www.mcgimpsey.com/excel/listfunctions.html) the formula results in an error like #VALUE! or #NUM! or even #REF! Mind you, the formula itself is not the problem, the same occurs with other even trivial named formula's. Using <F2 followed by <Enter corrects the error, but in my actual application I have hundreds of named formula occurrences like these. Does anyone recognize this behaviour and what is the solution for it? Any help would be much appreciated!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Errors when using named ranges | Excel Discussion (Misc queries) | |||
Macros to Pull Errors to Top of the Page | Excel Worksheet Functions | |||
running totals, named formulas | Excel Worksheet Functions | |||
Want to run two macros without errors | Excel Discussion (Misc queries) | |||
macros errors | Excel Worksheet Functions |