B
Brian Kitt
I am working with a C# Form that will read data from an Excel worksheet. I
have done this many times in the past, but this is the first time I have done
this with Office 2003 (Office 11).
In the past, I could always do a 'Using Excel' and then access the
method/property/etc just fine.
With Office 2003 (Office 11) I must do Microsoft.Office.Interop.Excel in
front of every single method/property/etc. This does work fine, but makes my
program very wordy. I have tried adding 'using' statements, but to no avail.
I don't see why I can't just do 'Excel.Worksheet' rather than
'Microsoft.Office.Interop.Excel.Worksheet'.
Any advice is greatly appreciated. As I said, the program does work fine,
it's just wordy.
have done this many times in the past, but this is the first time I have done
this with Office 2003 (Office 11).
In the past, I could always do a 'Using Excel' and then access the
method/property/etc just fine.
With Office 2003 (Office 11) I must do Microsoft.Office.Interop.Excel in
front of every single method/property/etc. This does work fine, but makes my
program very wordy. I have tried adding 'using' statements, but to no avail.
I don't see why I can't just do 'Excel.Worksheet' rather than
'Microsoft.Office.Interop.Excel.Worksheet'.
Any advice is greatly appreciated. As I said, the program does work fine,
it's just wordy.