Hi,
I have a macro which is supposed to create the month (-1) and change format to "mmm" however it seems to change to Jan,
Code below - the formula gives a number.
Range("A2").Select
Selection.NumberFormat = "mmm"
ActiveCell.FormulaR1C1 = "=MONTH(NOW())-1"
I have a macro which is supposed to create the month (-1) and change format to "mmm" however it seems to change to Jan,
Code below - the formula gives a number.
Range("A2").Select
Selection.NumberFormat = "mmm"
ActiveCell.FormulaR1C1 = "=MONTH(NOW())-1"