I am using code to select a Print Area and it keeps only selection one cell and giving me an error. Here is the code:
I have tried many other ways and they all keep giving me the same problem. Thank you all for the help in advance.![]()
Cells.Find(What:="TX", After:=Cells(finalrow, 1), LookIn:=xlValues, LookAt:= _ xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlPrevious, MatchCase:=True).Offset(0, 18).Select Range("A2", ActiveCell).Select ActiveSheet.PageSetup.PrintArea = Selection
Bookmarks