I assume that the problem is due to your application executing in a 64-bit version of Windows and that system does not have a 64-bit version of OLEDB. If so the Suthish's suggestion should work.
Years ago, Microsoft decided they wanted to discontinue support of some databases such as Access. I forget if that includes OLEDB for Excel but I think so. So they did not create 64-bit versions and we had to use 32-bit applications for the databases. The amount of protest from customers was great enough that Microsoft gave in (like as Hosni Mubarak has done?) and they have provided 64-bit versions. So you have two choices; either look for a 64-bit version of OLEDB or (as Suthish suggests) make your application 32-bit.
Thinking is a feeling; pleasant for some and unpleasant for others.