when I tried to compile the code from the above link I get warning shown below. I'm thinking its because I don't have Office 2003. My operating system is Windows 2000 Server and I have Office 2000 installed. I'm using VS 2005
Imports System.Reflection ' For Missing.Value and BindingFlags
Imports System.Runtime.InteropServices ' For COMException
Namespace or type specified in the Imports 'Excel' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.