Save Excel range as pdf

前端 未结 1 1098
失恋的感觉
失恋的感觉 2021-02-03 11:28

I\'d like to \'save as\' a specific sheet or specific range to pdf.

I tried implementing a range into my code.

Here is what I\'ve been working with:



        
相关标签:
1条回答
  • 2021-02-03 12:13

    you have the code, just use a range instead of activesheet

    e.g. Sheets("Sheet1").Range("B2:H28").ExportAsFixedFormat ...

    0 讨论(0)
提交回复
热议问题