Export to Excel

Has anyone created a export a table to Excel from a menu button with out pulling up a Form or Grid? I am looking to do this only in the admin access section only of the application. Any help would be appreciated.

Thank You

I would suggest searching google for this :
php sql query to excel

Thanks, I actually found solution within Scriptcase. I simply copied the Grid App to a new name and changed the Grid setting to export to XLS. Works great.