Annelies
Programmer
- Nov 25, 2001
- 72
Hi all,
I have a spreadsheet that uses the NETWORKDAYS function, which is part of the Analysis Toolpak (ATP). This spreadsheet is used extensively through our department, by a large number of people.
I have started receiving an increasing number of complaints that instead of the function returning a numerical value (as it is supposed to) it just shows a "#NAME?" error.
I know that this happens when the ATP is not installed, however there is some code in the workbook that checks whether the ATP is installed, and if it is not then my code automatically installs it. Between this and manually checking when troubleshooting the problem, I can confirm that the ATP is installed correctly.
If I double click on the formula, and then press enter, the formula will calculate correctly. However, I require a more sturdy solution than a formula that people have to double click to get working!
I have checked the formatting of the cells that the function uses, and can see no problems there - both are formatted as valid dates.
This is also not a problem of Excel manually calculating its formulas - I've checked and the workbook is set to automatically calculate.
Can anyone shed any light on this issue? Any help would be *very* much appreciated!
Thanks
Annelies
I have a spreadsheet that uses the NETWORKDAYS function, which is part of the Analysis Toolpak (ATP). This spreadsheet is used extensively through our department, by a large number of people.
I have started receiving an increasing number of complaints that instead of the function returning a numerical value (as it is supposed to) it just shows a "#NAME?" error.
I know that this happens when the ATP is not installed, however there is some code in the workbook that checks whether the ATP is installed, and if it is not then my code automatically installs it. Between this and manually checking when troubleshooting the problem, I can confirm that the ATP is installed correctly.
If I double click on the formula, and then press enter, the formula will calculate correctly. However, I require a more sturdy solution than a formula that people have to double click to get working!
I have checked the formatting of the cells that the function uses, and can see no problems there - both are formatted as valid dates.
This is also not a problem of Excel manually calculating its formulas - I've checked and the workbook is set to automatically calculate.
Can anyone shed any light on this issue? Any help would be *very* much appreciated!
Thanks
Annelies