Hello Excel Forum, Long time reader, first time poster. I am working on a small project at work and ran into a problem. I duplicated the problem in a very simple worksheet and VBA for troubleshooting. I have a form that populates a worksheet cell with a number (cell A1). This is done with a sppinner (SpinnerButton1) changing the value in a textbox (TextBox1). Another worksheet cell squares the number in A1 (cell B1). That squared number is then displayed on the form in a second text box (TextBox2). All data is displayed correctly in the worksheet, but the squared number on the form is always one calculation behind. Example: First number is spinned up to 3 and squared number on worksheet is 9 but the form displays 4. First number is spinned up again to 4 and squared number on worksheet is 16 but the form displays 9. In Debuging mode, it works as expected. Any ideas? VBA code below. SpinButton1 and TextBox1 ControlSource is 'Sheet1'!A1. B1 has formula "=a1*a1".
Thanks for your help!
Bookmarks