User Profile

Collapse

Profile Sidebar

Collapse
SukumarMaddineni1
SukumarMaddineni1
Last Activity: Sep 10 '10, 11:05 AM
Joined: Jun 16 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Excel(xlsm) to PDF conversion failing,error "Save as method of Wroksheet class failed

    Hi,

    I have one xlsm document , Using python I tried to convert that
    document to PDF,

    but COM raising pywintypes error "Save as method of Wroksheet class
    failed".

    Below is my code.

    Code:
    workbook = MicrosoftExcel.Workbooks.Open(document.filePath, 0, False, 2)
    workbook.Application.AskToUpdateLinks = 0
    outputFileFolder = outputFolder+'\\'+str(ncount)
    outputFile
    ...
    See more | Go to post
    Last edited by bvdet; Sep 10 '10, 01:48 PM. Reason: Add code tags

  • In Python how to know microsoft document save progerss (I am saving doc using win32c)

    Hi..

    I am saving microsoft doc using win32com. It saving perfectly. When I save a big document like 2000 pages, it is taking time. So meanwhile I need to show user that out of 2000 pages this many pages are converted. so that user will know process is inrpogress.

    my sample code is here . please tell me how to get save progress status code.

    ------------------------------

    import win32com.client .dynamic...
    See more | Go to post
No activity results to display
Show More
Working...