The interop components are not guaranteed to be present, even if Office is installed. You should include Microsoft.Office.Interop.Excel as part of your program’s installer. Read here
] for more details on interops. When your program is running check the registry to determine if Office is installed. Read this
] and this
]for more information on checking the registry.