Answers for "convert excel to pdf python"

0

convert excel to pdf python

# Import Module
from win32com import client
  
# Open Microsoft Excel
excel = client.Dispatch("Excel.Application")
  
# Read Excel File
sheets = excel.Workbooks.Open('Excel File Path')
work_sheets = sheets.Worksheets[0]
  
# Convert into PDF File
work_sheets.ExportAsFixedFormat(0, 'PDF File Path')
Posted by: Guest on April-04-2022
0

convert excel to pdf python

# Import Module
from win32com import client
  
# Open Microsoft Excel
excel = client.Dispatch("Excel.Application")
  
# Read Excel File
sheets = excel.Workbooks.Open('Excel File Path')
work_sheets = sheets.Worksheets[0]
  
# Convert into PDF File
work_sheets.ExportAsFixedFormat(0, 'PDF File Path')
Posted by: Guest on April-04-2022

Code answers related to "convert excel to pdf python"

Browse Popular Code Answers by Language