Is there export to Spreadsheet option when you right click the table?

If not then if you have PAD that is updated recently try the SAP automation action "Get details of SAP UI element".

I haven't really tried those since I don't have that new PAD version in the environment I have SAP in.
If not then you could also try UI automations "Extract data from window" -action. I couldn't make that work but maybe your SAP table element is bit different.

Or just make it bit more manually.
Try first can you do copy the table to excel by hand: Click the SAP table and press Ctrl + A to select the whole table and then Ctrl + C to copy it. Then Paste it into Excel.
If that works try doing these steps:

step 3 clicks the SAP table somewhere in the middle of it. Then Ctrl + A selects all and Ctrl + C copies the table. Step 9 clicks Excel cell(what ever cell) and then select all with Ctrl + A (so that it won't paste it into singular cell) and paste the table to the excel.
You might also be able to do this with VBScript. I don't think you can return (echo) datatable value to PADs datatable type. VBScript will always return string type to PAD I think. So you would need to insert the data into excel in the vbscript.