Oledb in sql server

i used OLEDB to export database in sql server to sheet in excel 2010.
thiis was my code in sql server when i worte code
Msg 7302, Level 16, State 1, Line 1
Cannot create an instance of OLE DB provider "Microsoft.jet.OLEDB.4.0" for linked server "(null)".

i searched some solutions in may forum but no way can resolve this error.
help me, please