my end goal is thatevery month you run the macro and get : "**this month** pricing" and"**next month** pricing"
I get an #Name error when I run this.
=MONTHNAME()&" Price"
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Range("U1").Select
ActiveCell.FormulaR1C1 = "=MONTHNAME()+30&"" Price"""
Range("Q1").Select
ActiveCell.FormulaR1C1 = "=MONTHNAME()&"" Price"""
Range("U1").Select
ActiveCell.FormulaR1C1 = "=IF(RC[-1]=""Call for Pricing"",RC[-1],RC[-2])"
I get an #Name error when I run this.
=MONTHNAME()&" Price"
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Range("U1").Select
ActiveCell.FormulaR1C1 = "=MONTHNAME()+30&"" Price"""
Range("Q1").Select
ActiveCell.FormulaR1C1 = "=MONTHNAME()&"" Price"""
Range("U1").Select
ActiveCell.FormulaR1C1 = "=IF(RC[-1]=""Call for Pricing"",RC[-1],RC[-2])"
Last edited: