Hello Alfredo,
I noticed that you also post this issue to another newsgroup
"microsoft.public.office.developer.vba". One of my colleagues replied there
and I paste it here for your reference. Please let us know if the following
information helps you resolve the problem.
"Alfredo,
I found a case that describes similar symptoms to those you are seeing.
Please check the following:
1) Excel is installed on the Windows 2000 machines. Excel.exe is an
out-of-process server and has to be installed on the machines on which you
wish to automatic. The Excel version must match that refernced in your
program or you will receive interface mismatch errors.
2) Check that the expression you are building to access the range matches
the data type expected. In a previous case
xlSheet.Cells(i + 4, 1).Value = "Test Value" produced the same error
because i was declared as long and is expected to be integer.
If this information doesn't fix your problem, please feel free to post the
following information:
1) A snipet of the failing code
2) OS and Excel versions in the various environments
3) Whetther you are using VB or C#
Thanks,
Jim
Jim Vita
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights."
We are looking forward to your result!
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! ¨C
www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.