You can also use sp_makewebtask
exec sp_makewebtask @outputfile = 'C:\mypath\lester.xls',
@query = 'select * from table',
@colheaders =1,
@FixedFont=0,
@resultstitle= 'My Title',--Name of the report etc
@dbname = 'db_name' --'database_name'
Although i think this will be disregarded in MSSQL 2008 but anyways if your not using 08 as of now you can use this. Just my 2 cents..
"-=Still Learning=-"
Lester Policarpio