Excel Export without a button

Excel Export without a button

dtw11dtw11 Posts: 18Questions: 4Answers: 0

Is there a way to trigger the action of the excel export button in code and not have the button in the interface? So in combination with another custom process I want the excel file to generate and the open/save dialog to appear.

Answers

  • allanallan Posts: 61,864Questions: 1Answers: 10,136 Site admin

    Yes, you can call the button's action function directly. See this thread for how you can do that. The example there uses a custom button that then calls the action function, but there is no reason why you can't do that from your own event handler.

    Allan

  • dtw11dtw11 Posts: 18Questions: 4Answers: 0

    Thanks Allan I will take a look.

This discussion has been closed.