Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Errors in named formulas after running macros

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors when using named ranges Deina Excel Discussion (Misc queries) 1 October 7th 09 07:49 AM
Macros to Pull Errors to Top of the Page Daren Excel Worksheet Functions 3 August 2nd 07 06:28 PM
running totals, named formulas Memento Excel Worksheet Functions 1 May 8th 07 09:35 AM
Want to run two macros without errors daidipya Excel Discussion (Misc queries) 3 June 2nd 06 08:51 AM
macros errors Natalie Excel Worksheet Functions 5 March 14th 05 02:27 PM


All times are GMT +1. The time now is 11:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"