Professional Documents
Culture Documents
Formulas and
Other Objects
BMGT 302
Business Application
Programming
Scott Hudson
Referencing (contd)
Row absolute referencing places the $ in
front of the row number
column letter $ row number
A$1
In R1C1 style, R stands for row and C stands for column. For example,
cell D7 is identified by Excel as the address at the intersection of row 7
and column 4 (R7C4).
the R1C1 address of cell A1 is R1C1
Scott Hudson BMGT302
Referencing in R1C1
Relative Referencing
Mixed Referencing
Absolute referencing
Comparison
10
11
12
Value
End With
Appl icat ion. ScreenUpdating
End sub
True
13
14
15
Common Objects
Workbook
Properties: Path, Name, FileFormat, ReadOnly, Saved,
Methods: Open, Close, Save, SaveAs,
Worksheet
Properties: CodeName(aka Permanent Name), Name,
Methods: Select, Copy, Paste, PasteSpecial, Delete, Move,
Range
Chart
Properties: Name, ChartType, HasLegend, HasTitle,
ChartTitle,
Methods: Select, Activate, Copy, Paste, Delete, Move,
Scott Hudson BMGT302
16
Common Collections
Workbooks
Properties: Count, Item,
Methods: Add, Open, Close,
Worksheets
Properties: Count, Item,
Methods: Add, Copy, Delete, Move, Select,
Charts
Properties: Count, Item,
Methods: Add, Copy, Delete, Move, Select,
Scott Hudson BMGT302
17
18
WorkBooks Examples
Open Workbooks.xlsm
19
WorkSheets Examples
Open Worksheets.xlsm
20