- Introduction to VBA
- Objects and Collections
- Workbook and Worksheet Object
- Range Object and Cells Property
- Methods and Property
- Assigning Object Variables and Using Named Argument
- Creating and Managing Array
- Declare an Array With Dim Statement
- Resize an Array With Redim Statement
- Manage Dynamic Array
- Create Multi-Dimensional Array
- Find The Size of an Array
- Working with Variables in Excel VBA
- Message Box
- Using If...Then...Else
- For....Next Loop
- Do.......Loop
- Select Case........End Select
- Font and Background Color
Thursday, August 5, 2010
How to get started VBA code writing?
In previous lesson when we record macro the coding will be place in Visual Basic Editor (VBE) modules. Same goes to writing, if you want to write your own code go to VBE and insert modules and you can start writing begin with Sub and end with End Sub as below:
Sub nameofyourmacro ()
Write your own code here!
End Sub
But before that we must learn Visual Basic programming language. In Visual Basic programming we will cover below topics:
Labels:
Introduction,
VBA tutorial
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment