Claire Jackson
Board Regular
- Joined
- Jun 30, 2020
- Messages
- 74
- Office Version
- 2016
- Platform
- Windows
Hi, I have a file which works perfectly by saving as a PDF and then emailing it. What I would like to do is only save part of the document as the PDF. Currently it's using the "set print area" as it's range. I have changed the range in the code, as below but it's still using the "set print area"? What am I doing wrong?
With Range("A1:C24")
Sheets("Sheet1").Range("A1:C24").Copy
Set WB = ActiveWorkbook
End With
With Range("A1:C24")
Sheets("Sheet1").Range("A1:C24").Copy
Set WB = ActiveWorkbook
End With