![]() |
What should my calculation settings be?
I have made a macro which FILLS DOWN formulas into an MS EXCEL 2000
Spreadsheet. My macro calculates the formulas except some have " #NAME? " as a value. The crazy thing about this is that when I go into the status bar and hit enter the formula is calculatedthe exact number comes up!!!! I've heard about Microsoft issues, is this another example? What should my calculation settings be? I'm not sure if manual, automatic, iteration, or calculate before save will help me out. Please help. Thanks |
What should my calculation settings be?
Normally if calculation is set to Automatic it will recalc after you fill
down a series of formulas. Let me make a guess: Do the formulas in the cells that are filled down contain any user defined formulas? If you copy a user formula to a new cell it does not trigger the calculation, but if you edit the cell (as you are doing when you go into it and press 'Enter') it will be calculated. It is a common issue and not obvious until you have run into the problem and found the solution - which is to put the statement Application.Volatile in the function code. Regardless of everything else, putting an Application.Calculate command in your macro code will force a recalculation of everything in the workbook. -- - K Dales "CondtllyFrmttd" wrote: I have made a macro which FILLS DOWN formulas into an MS EXCEL 2000 Spreadsheet. My macro calculates the formulas except some have " #NAME? " as a value. The crazy thing about this is that when I go into the status bar and hit enter the formula is calculatedthe exact number comes up!!!! I've heard about Microsoft issues, is this another example? What should my calculation settings be? I'm not sure if manual, automatic, iteration, or calculate before save will help me out. Please help. Thanks |
What should my calculation settings be?
my formulas are not user defined. the end result is only used to
provide a query or analysis later on. I'm really stumped, anyone have any ideas???!?!?!?!?!?!? |
All times are GMT +1. The time now is 05:14 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com