I´m trying to create a named range from an inputbox in VBA. This is the code that I have but I can´t get VBA to recognize the name of the range.
Dim xRgl As Range
Set xRg1 = Application.InputBox("Range A:", "Select Range", xTxt, , , , , 8)
Range("xRgl").Font.Italic = True