C
Chinmay
Hi,
Microsoft Web Components seem to work great and provide some real muscle to
the applications we are building.
I've had trouble doing a couple of simple operations using the
AxMicrosoft.Office.Interop.Owc11 and Microsoft.Office.Interop.Owc11 APIs.
Changing the background color of a cell:
Code snippet:
Microsoft.Office.Interop.Owc11.Range userCell = userRange.get_Item(i, j);
userCell.Interior.Color = 0x00ffff;
Compile time error:
C:\Development\workspace\ConcertAM\SpreadsheetControl2\Audit.cs(95):
Property, indexer, or event 'Color' is not supported by the language; try
directly calling accessor methods
'Microsoft.Office.Interop.Owc11.Interior.get_Color()' or
'Microsoft.Office.Interop.Owc11.Interior.set_Color(ref object)'
There is no set_Color method, and I can't figure out an alternate way to
change the background color.
[II] Insert a comment to a cell
I could not find any API to insert a comment into the cell. Is there any way
to extend the control to provide this functionality?
Any help will
Microsoft Web Components seem to work great and provide some real muscle to
the applications we are building.
I've had trouble doing a couple of simple operations using the
AxMicrosoft.Office.Interop.Owc11 and Microsoft.Office.Interop.Owc11 APIs.
Changing the background color of a cell:
Code snippet:
Microsoft.Office.Interop.Owc11.Range userCell = userRange.get_Item(i, j);
userCell.Interior.Color = 0x00ffff;
Compile time error:
C:\Development\workspace\ConcertAM\SpreadsheetControl2\Audit.cs(95):
Property, indexer, or event 'Color' is not supported by the language; try
directly calling accessor methods
'Microsoft.Office.Interop.Owc11.Interior.get_Color()' or
'Microsoft.Office.Interop.Owc11.Interior.set_Color(ref object)'
There is no set_Color method, and I can't figure out an alternate way to
change the background color.
[II] Insert a comment to a cell
I could not find any API to insert a comment into the cell. Is there any way
to extend the control to provide this functionality?
Any help will