Button on Spreadsheet Export?

I need to create a button on a spreadsheet via an agent from a view. The button needs to be created as part of the spreadsheet export.

I’ve searched the forums but can find no reference on programatically creating a button on an exported file.

Any ideas would be appreciated.

Ken