Personally, I see no use for this function, as all your transaction history is registered on the blockchain.
You can simple go to any block explorer such as Blockchain.com (for example) and print the transaction history for all your addresses. No need for this export function.