Inhaltsverzeichnis
In diesem Tutorial wird gezeigt, wie Sie die Spalte oder Zeile der aktiven Zelle abrufen.
Spalte für aktive Zellen
Dieses Verfahren gibt die Spalte der ActiveCell in a . zurück Nachrichtenbox:
123 | Öffentliche Sub ActiveColumn()MsgBox ActiveCell.ColumnEnd Sub |
Aktive Zellenzeile
Dies gibt die Zeile der ActiveCell zurück:
123 | Öffentliche Sub ActiveRow()MsgBox ActiveCell.RowEnd Sub |