VBA > Opis obiektów VBA > MxGrid > Opis interfejsów > Row > Metody > Cell | | Drukuj |
Cell (Columna as Integer) as Variant
Umożliwia pobranie obiektu Cell odpowiadającemu dowolnej komórce danych w wierszu. Parametr Column musi być w zakresie od 0 do ColumnCount-1. Patrz również opis obiektu Cell.
AmCtrl1.ColumnCount = 1
AmCtrl1.RowCount = 3
Set c = AmCtrl1.Rows(0).Cell(0)
c.Alignment = faCenter
c.Value = "Wartość komórki 0"