I was hoping someone could help me construct a short macro. I have a range of cells on a worksheet (B5:Y40). I want the macro to look at each of the cells in that range and if the absolute value is between 0 and 1, it formats the cell as #,##0.00. If the absolute value is greater than 1, it formats the cell as #,##0. I also want to include some sort of IsError statement or comparable that will exit the macro if the cell contains an error of any type. I don't want this macro to automatically calculate, but rather only run when I manually do so.
Any help would be greatly appreciated.
Thanks.
Any help would be greatly appreciated.
Thanks.