title: Save Excel range as pdf
body: <p>I'd like to 'save as' a specific sheet or specific range to pdf.</p>
  
  <p>I tried implementing a range into my code.</p>
  
  <p>Here is what I've been working with:</p>
  
  <pre><code>ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
    "c:\Book1.pdf", Quality:= _
    xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=False, _
    OpenAfterPublish:=True
  </code></pre>