I hope you can help me yet again.
I have a code that works, however when I attach it to a button it doesn't run.
I hope you can help me fix it.
I have a code that works, however when I attach it to a button it doesn't run.
I hope you can help me fix it.
Code:
Sub CopyFormatting()
Dim lRow As Long
lRow = ActiveSheet.Cells.Find("*", LookIn:=xlValues, Searchorder:=xlByRows, Searchdirection:=xlPrevious).Row + 1
Range("B19:Z19").Copy
ActiveSheet.Cells(lRow, 2).PasteSpecial xlPasteAll
Application.CutCopyMode = xlCopy
End Sub