appu_gusai
Member
hi all,
please anyone can correct this code for me?
please anyone can correct this code for me?
Code:
Sub test()
With ActiveWorkbook.Worksheets("Sheet1").Range("A4")
.FormulaR1C1 = "=" & "QTR: " & "LOOKUP(MONTH(Now()),{1,4,7,10},{""FOUR"",""ONE"",""TWO"",""THREE""})"
.Font.Bold = True
.Merge
.Value = .Value
.HorizontalAlignment = xlJustify
.VerticalAlignment = xlCenter
End With
End Sub