🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Can We Save Excel File as PDF using TCL?

User: "sanket_patil"
Altair Community Member
Updated by sanket_patil

Hello All,

Can we save excel file as pdf using tcl commands? 

Regards,

Sanket

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Adriano_Koga"
    Altair Employee
    Updated by Adriano_Koga

    Not sure what you are trying to do, but using TCL you could call the 'exec' command to launch external applications.

    In order to do something like this (save excel to PDF) you would probably call Excel in batch and somehow call a command there to export the PDF.

    I mean, this is something ore related to Excel than HW commands, as HW Tcl doesn't have any direct access to excel.

    User: "sanket_patil"
    Altair Community Member
    OP
    Updated by sanket_patil

    Not sure what you are trying to do, but using TCL you could call the 'exec' command to launch external applications.

    In order to do something like this (save excel to PDF) you would probably call Excel in batch and somehow call a command there to export the PDF.

    I mean, this is something ore related to Excel than HW commands, as HW Tcl doesn't have any direct access to excel.

    Hello Adriano A. Koga,

    Thanks for the reply.

    Actually i have created on excel sheet using twapi package in tcl. I can save that excel as csv, But i want it in pdf format.

    Regards,

    Sanket

    User: "Adriano_Koga"
    Altair Employee
    Updated by Adriano_Koga

    Hello Adriano A. Koga,

    Thanks for the reply.

    Actually i have created on excel sheet using twapi package in tcl. I can save that excel as csv, But i want it in pdf format.

    Regards,

    Sanket

    honestly i've never sued twapi (which looks a great extension, by the way).

    I'd say that you might have a better luck seraching at google in this particular case, as it is more a pure TCL question.

    This topic might help you:

    https://stackoverflow.com/questions/48724523/tcl-twapi-excel-write-text-formatting

    Maybe changing the SaveAs command to point to a PDF file.