vba
Books
Excel 2007 VBA Programmer's Reference
Basic
sheets = worksheet + chart function: can be used in cell IIF = IF THEN ELSE
String & Regex
MsgBox
Dim & ReDim
Dim advantage: preservation of capitalization. ReDim will re-initialize the array and destroy any data in it, unless you use the Preserve keyword. It is necessary to declare sht as the generic Object type if you want to allow it to refer to different sheet types.
Sheets
There is a Sheets collection in the Excel object model, but there is no Sheet object.
Range & Cell
ColorIndex Property
Rows.Interior.ColorIndex = xlColorIndexNone
Test cell empty
The IsEmpty function is the best way to test that a cell is empty. If you use If Cells(row,col) = “”, the test will be true for a formula that calculates a zero-length string.
Find string & delete row
Array
Filter
Hyperlinks
Time
Last updated
Was this helpful?