Probably the name of the subroutine (macro) that is assigned to the button of export as csv file is different.
Best case scenario combine both the subroutine to call one after another or just execute the macro activity one more time with method name for export. You can check that in
Right-click the button and select Assign Macro. This will open the Assign Macro dialog box. This is where you can spot the name of sub assign to this button.
Can i take a look into the VBA code. Can you able to share the macro.
You don’t need to write it 2nd time with same name in execute macro because for export I think in the 2nd execute macro you need to write CSVPremium as macro name. If that is the underlying macro for your Export to CSV.