parkerbelt
Active Member
- Joined
- May 23, 2014
- Messages
- 377
I have the following code that changes my number formatting to number, when it started as text, but after the program runs, I still have the exclamation point and the green box in the upper left corner of the cells that says numbers formatted as text. Is there a way to get that to stop happening? When I right click and check the number formatting after the program runs, it says that it is a number with zero decimal places, but I'm getting the message still.
Code:
Application.Calculation = xlManual
Range("C26").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.NumberFormat = "0"