M
Michael Howes
I am writing Word and Excel documents from c#/.Net and it works great
with Office 2003
I can't even get the code to compile with Word/Excel 2000. There seems
to be a change in the way all the collections of objects are accessed
between versions 2000 and 2003
Any line of code where I do something like
WordApp.Selection.Cells[1].FitText = true;
or
table.Rows[index].Select()
wont compile
Cells, Columns, Rows, and Paragraphs don't seem to be enumerable or are
in a different way from 2000 to 2003
someone mind explaining the difference?
and how do I turn WordWrap off and FitText on for a Word table column in
Word 2000?? The above line with .FitText = true works great in Word 2003
thanks
mike
PS remove the x in my email address to respond directly.
with Office 2003
I can't even get the code to compile with Word/Excel 2000. There seems
to be a change in the way all the collections of objects are accessed
between versions 2000 and 2003
Any line of code where I do something like
WordApp.Selection.Cells[1].FitText = true;
or
table.Rows[index].Select()
wont compile
Cells, Columns, Rows, and Paragraphs don't seem to be enumerable or are
in a different way from 2000 to 2003
someone mind explaining the difference?
and how do I turn WordWrap off and FitText on for a Word table column in
Word 2000?? The above line with .FitText = true works great in Word 2003
thanks
mike
PS remove the x in my email address to respond directly.