• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Question for all you excel monkies...

legoman666

Diamond Member
I have a custom function that populates a table of ampacity ratings. This is all well and good. However, when I make changes to the function, the table doesn't update unless I change/update the parameters of the function.

IE, "=currentFactor($A$2,35,1440)*$B4"
to get it to reflect the changes I just made to currentFactor, I have to change either A2, 35, 1440, or B4.

Is there a way to make Excel auto update after the function is changed?
 
My understanding is that you can use VBA to force Excel to update. Or you can hit F9 which will recalc the entire workbook - that way you don't have to change any values to trigger the recalculation.

I assume that in Tools - Options - Calculation you already have it set for automatic.
 
are you referring to automatic recalc?

tools > options > calculation > set it to automatic

*edit damn you kranky beat me by a minute.
 
Originally posted by: kranky
My understanding is that you can use VBA to force Excel to update. Or you can hit F9 which will recalc the entire workbook - that way you don't have to change any values to trigger the recalculation.

I assume that in Tools - Options - Calculation you already have it set for automatic.

Hmmmm, pressing F9 doesn't force an update of my table. And yes, it's set to automatic.

Anyone know how to do this in VBA?
 
Originally posted by: kranky
Try adding this to your function.

Ahah! With that code in the function, now pressing F9 makes the table update. Thank you sir! Now is there anyway to make the table update without pressing F9 at all? Ideally, it would update the moment I save the changes to the function. If not, this is still 100x better than what I was doing.
 
Back
Top