G
Guest
Hi there,
I have a simple problem, but I can't fix it.
I have worked with Visual Basic 6. But I recently switched to Visual Basic
..Net 2003.
I have a Form with an Spreadsheet. I want to change the properties of the
cells dynamically. (Alignment, Borders, Colors, Fontsize...)
In VB6 I could use the following code:
Form1.Spreadsheet.ActiveSheet.Columns("A").Cells.HorizontalAlignment = xlRight
But In VB2003 I can't use it anymore.
What do I have to change? Who could help me..
Jeroen
I have a simple problem, but I can't fix it.
I have worked with Visual Basic 6. But I recently switched to Visual Basic
..Net 2003.
I have a Form with an Spreadsheet. I want to change the properties of the
cells dynamically. (Alignment, Borders, Colors, Fontsize...)
In VB6 I could use the following code:
Form1.Spreadsheet.ActiveSheet.Columns("A").Cells.HorizontalAlignment = xlRight
But In VB2003 I can't use it anymore.
What do I have to change? Who could help me..
Jeroen