If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#34
|
|||
|
|||
Summing non hidden values in a range
Try adding:
Application.volatile to the top of the procedu Function TOTAL_VISIBLE(rng As Range) As Long application.volatile ..... This tells excel to recalculate the function whenever excel recalculates. If I recall correctly, some versions of excel won't recalc when columns are hidden/unhidden--maybe all versions??? (Changing the columnwidth--not hiding/showing--causes a recalc in xl2003, though.) So for UDFs like these, you'll want to force a recalc before you trust the results. starguy wrote: what should I do now...problem persists. -- starguy ------------------------------------------------------------------------ starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434 View this thread: http://www.excelforum.com/showthread...hreadid=537953 -- Dave Peterson |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Formula: If 2 values (in a range of six) are >3 then TRUE, FALSE | IFfunction | General Discussion | 2 | October 10th, 2005 10:34 AM |
Summing values within a range | rmellison | General Discussion | 7 | September 2nd, 2005 12:43 PM |
Cell linked to a range of cell values in different sheet | szeng | General Discussion | 1 | August 9th, 2005 02:41 AM |
Want to put range values in a column into two columns | Arch | Worksheet Functions | 7 | June 15th, 2004 11:49 PM |
Dynamic Offsetting, Names, Arrays, Range, Chart Values. NEED HELP | Bob Lidgard | Charts and Charting | 14 | February 25th, 2004 03:26 PM |