Post on 22-Nov-2015
Curso VBA - Macros Excel
www.interimfinancialmanagement.net
1. Entorno VBA
Editor - VBE
Barra Herramientas
Ventana Inmediato
2. Creando una Macro
MsgBox
InputBox
3. Referencias
Celdas
Rangos
Filas
Columnas
Hojas
Libros
4. Variables
Integer
Double
String
Long
Date
Boolean
5. Tipo Variables
Locales
Globales
6. Arrays
Estticos
Dinmicos
7. Tipos de Datos Definidos por Usuario
Type End Type
8. Operadores Lgicos
And
Or
Not
9. Estructuras de Decisin
If, then, elseif, endif, if anidados
Select case, end select
Curso VBA - Macros Excel
www.interimfinancialmanagement.net
10. Estructuras de Control - Bucles
For - Next
While - End while
Do - Loop
For each - Next
Do while - Loop
Do until Loop
With - End with
11. Acelerando Bucles
Application.ScreenUpdating
Application.Calculation
12. Etiquetas
GoTo
13. Subrutinas y Funciones
Pblicas y privadas
Llamando a una funcin CALL
Enviar variables a una funcin
Devolver variables
ByVal y ByRef
14. Funciones Excel y Funciones VBA
Application.WorksheetFunction
VBA.
15. Mdulos
16. ActiveX
Label
Command Button
Text Box
Combo Box
Spin Buttons
Check Box
Option Buttons
List Box
Toggle Button
Scroll Bar
Image
17. Eventos
Click
DblClick
Worksheet_Activate
Worksheet_Deactivate
Worksheet_Change
Workbook_Open
Curso VBA - Macros Excel
www.interimfinancialmanagement.net
18. Base de Datos - SQL
ADODB.conection
ADODB.recordset
.open
.close
Selec
From
Where
Insert
Delete
Update
And / Or
Between
Order By
Top
Count / Sum