Ranges and Cells
快速指南 Ranges and Cells Function Takes Returns Example Gives Range cell address multiple cells .Range(“A1:A4”) $A$1:$A$4 Cells row, column one cell .Cells(1,5) $E$1 Offset row, column multiple cells Range(“A1:A2”).Offset(1,2) $C$2:$C$3 Rows row(s) one or more rows .Rows(4).Rows(“2:4”) $4:$4$2:$4 Columns column(s) one or more columns .Columns(4).Columns(“B:D”) $D:$D$B:$D 一般來說,您使用 Cells 主要做三件事 從單元格中讀取。 Read from a cell. Write […]