Pierre,
There probably is, it's just that ActiveWorkbook returns a type of
object, which you have to cast to the workbook type.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Thks but... ther's no ActiveWorkBook.Colors...
"Nicholas Paldino [.NET/C# MVP]" <
[email protected]> a écrit
dans le message de Pierre,
RHS is an acronym for "Right Hand Side". The method you are calling
is
really what is called when you set a property, and you should be using
that
notation. I ^believe^ you want to be doing this:
MyExcelObject.Application.ActiveWorkBook.Colors[index] = color;
Remember that color is an RGB integer value, not a structure like it
is
in .NET.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Hi,
Tryin to use this method :
MyExcelObject.Application.ActiveWorkBook.set_Colors(int index,
object
RHS).
But really don't know what this RHS is ?
Any ideas ?
Thks for help