in reply to Re: Prompt to save file working with excel::writer::xlsx for desktop application
in thread Prompt to save file working with excel::writer::xlsx for desktop application

This does not sound specific to Excel::Writer::XLSX in any way. Did you try Tk::FileSelect? If this does not meet your requirements, please specify in what way.

Replies are listed 'Best First'.
Re^3: Prompt to save file using Tk
by Anonymous Monk on Dec 17, 2018 at 12:14 UTC

    while using excel::write::xlsx, we provide constructor filename with path , and file gets generated in the given path. Let's say I have file name, cgi_dec.xlsx,my requirement is, to get the xlsx object and give user save option with the filename populated, where user can choose the directory to save it, after button clicked, file should get created in the user provided directory. I hope this helps to understand the issue. Thanks.

      I think you should have at look at this option while using the getSaveFile() function of that module

        Thanks, I am wondering why superb module like xcel::writer::xlsx doesn't have method like save and saveas.

Re^3: Prompt to save file using Tk
by Anonymous Monk on Dec 18, 2018 at 16:04 UTC

    It seems, I need to somehow manage with Tk::FileSelect. Thanks for the suggestion.