Excel - Update calculations

May 2017



Issue


I have an Excel file in which I have several radio buttons. When I click on a radio button, it changes several cells and some containing listboxs. The problem is that when I change an item in my listboxs, values are not updated.

Solution


In VBA
  • ActiveWorkbook.RefreshAll

or
  • Worksheets("Feuil1").QueryTable.Refresh BackgroundQuery:=False


Thanks to anonymous1.0 for this tip.

Related


Published by aakai1056. Latest update on March 29, 2012 at 10:54 AM by aakai1056.
This document, titled "Excel - Update calculations," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).