Hello,
I hope someone can help me with my question.
I have a formula that resets an area to the formatting of a specific line:
This works fine but I would like to add code that determines the area to be from B18 and end at the last row containing data. instead of B18:W468.
Thanks,
I hope someone can help me with my question.
I have a formula that resets an area to the formatting of a specific line:
Code:
Sub Resetformatting ()
Range("B17:W17").Select
Selection.Copy
Range("B18:W468").Select
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
End sub
This works fine but I would like to add code that determines the area to be from B18 and end at the last row containing data. instead of B18:W468.
Thanks,