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

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.

Replies are listed 'Best First'.
Re^4: Prompt to save file using Tk
by markong (Pilgrim) on Dec 17, 2018 at 13:07 UTC

    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.

        Why doesn't this wheel have a door lock and ignition lock? Because it is a wheel, it is not an automobile.

        same way you pick up a screwdriver, it doesn't magically complete your project, its a tool, it does its job, you do your job