Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将预定义的 Excel 表格范围(来自 Excel 2007 和 2010 的范围)导出为 PDF。只有特定的表格应该出现在 PDF 中,而不是整个工作表。
Something like:
Sheet1.Range("B2:B7").ExportAsFixedFormat xlTypePDF, "C:\My Documents\Test.pdf"