Russel Austin
2011-11-11 06:03:27 UTC
In my worksheet. I have a cell that contains a drop down list. The drop down list has 4 values: "x" "x.x" "x.xx" "x.xxx" and "select one..."
When i choose one of the three x values, i want another cell (that always has numbers in it) to format to the corresponding number of decimal places.
So. If i chose "x.xx" in my drop down list, I want my number cell (lets say it contains the number 3) to show "3.00". I want to be able to change the drop down list and have my number update automatically.
Here's my problem...
I have setup all the conditional formatting, and i have gotten this to work mostly the way i want it to. But sometimes when i switch between "x", "x.x", etc. My numbers do not update until i either A. scroll down on the sheet and then scroll back up, or B. I push F2+Enter a few times until the worksheet refreshes..
Can somebody tell me what i need to do so that my number values will ALWAYS update, every single time i switch to another item on my list??
Also, another user mentioned i should use the following macro code:
Sub Count()
mycount = Range("a1") + 1
Range("a1") = mycount
End Sub
I used this, and i still have the same problem.