Error MACRO CSHARP with VS 2008

Good morning everyone.

I created a macro to test the implementation in Visual Studio 2008.
I ran the following problem when running the same.
"you can not debug or run this project, because the required version of the microsoft office application is not installed"

I use Solidworks 2009, Windows XP and Office 2007.
Has anyone seen this error or know how to fix it?
Thanks!SolidworksApi macros