Innholdsfortegnelse
Denne opplæringen viser hvordan du får kolonnen eller raden til den aktive cellen.
Aktiv cellekolonne
Denne prosedyren returnerer ActiveCells kolonne i a Meldingsboks:
123 | Offentlig sub ActiveColumn ()MsgBox ActiveCell.ColumnSlutt Sub |
Aktiv cellelinje
Dette vil returnere raden til ActiveCell:
123 | Offentlig sub ActiveRow ()MsgBox ActiveCell.RowSlutt Sub |