There's another answer, though Jerry's works just fine. I'm just offering a different way to look at the problem.
If the cells you're selecting are complete row(s), you can use the "Show" feature to limit what rows are seen on screen ... then just a regular print or save-as-pdf in the print dialog box will work.
Hover on the letter indicator of any column (A, B, etc.), and click on the small triangle that's on the right. Click on "Show More Options" and the 2nd option is "Show rows that match the following". Set up whatever criteria you need. Click the box and =presto= the other rows disappear. They're still there, usable for any calcuations, but unseen.
You can also "unsee" any specific columns you dont' want visable. Again, just hover over the column letter and click on the triangle. "Hide this column" will do the trick.
Vince