sysuse auto
tab foreign,sum(price)

This code generates a table that I need to export to Excel.
Can anyone help? Please, its urgent