Professional Documents
Culture Documents
Funo
Forma de aplicao
Macro
Descrio
Abs
x = Abs(-20)
Teste15
Activate
Sheets("Plan2'").Activate
Teste16
Teste38
Teste18
ActiveCell.Rows("1:1").EntireRo ActiveCell.Rows("1:1").EntireRow.
w.Select
Select
ActiveSheet.Name
Variavel = ActiveSheet.Name
And
Teste40
Aplication.DisplayAlerts
Aplication.DisplayAlerts = False
Teste20
Application.EnableCancelKey
Application.EnableCancelKey =
xlDisabled
Application.ScreenUpdating
Application.ScreenUpdating =
False
Auto_Close
Sub Auto_Close()
Auto_Close
Auto_Open
Sub Auto_Open ()
Auto_Open
Calculate
ActiveSheet.Calculate
or
Sheets("Plan1").Calculate
or
Range("A1:A20").Calculate
Teste42
Caption
ActiveWindow.Caption =
"MARDEN CARDOSO"
Teste21
CBool
Variavel = CBool(string)
CByte
Variavel = CByte(string)
CCur
Variavel = CByte(string)
CDate
Variavel = CByte(string)
CDbl
Variavel = CByte(string)
CDec
Variavel = CByte(string)
CInt
Variavel = CByte(string)
CLng
Variavel = CByte(string)
Cos
x = Cos(0)
CSng
Variavel = CByte(string)
CStr
Variavel = CByte(string)
CVar
Variavel = CByte(string)
DataEntryMode
Application.DataEntryMode =
xlOn
Teste44
Dim
Teste45
Do Until x = 10
"Execute as seguintes intrues"
Loop
Do While x < 10
"Execute as seguintes intrues"
Loop
Else
If Condio Then
"Execute as seguintes instrues"
Else
"Caso a condio acima no seja
atendida, execute o seguinte:"
End If
ElseIf
If Condio Then
"Execute as seguintes instrues"
ElseIf Condio Then
"Execute as seguintes instrues"
Else
"Caso as condies acima no
sejam atendidas, execute o
seguinte:"
End If
Teste20
Teste49
Eventos Planilha
Exit Sub
Exit Sub
Teste1
For, Next
For x = 1 To 10
ActiveCell.Offset(0, 0) =
"MARDEN CARDOSO"
ActiveCell.Offset(1, 0).Select
Next
Teste22
FullName
Teste23
If
If Condio Then
"Execute as seguintes instrues"
End If
Teste49
InputBox
Teste25
Int
Variavel = Int(10.7)
Teste50
LCase
Variavel = LCase(palavra)
Teste26
UCase
Variavel = UCase("MARDEN
CARDOSO")
Teste27
Len
Variavel = Len("MARDEN
CARDOSO")
Teste51
Log
Variavel = Log(10)
Teste52
LTrim
Teste53
MsgBox
Teste20
Option Explicit
Option Explicit
Or
If Condio = "MARDEN" Or
Condio = "TESTE" Then
"Execute as seguintes instrues"
End If
Teste54
Quit
Application.Quit
Teste20
RTrim
Teste55
Select Case
Selection.Font.Name
Selection.Font.Name = "Times
New Roman"
Teste56
Selection.Font.Size
Selection.Font.Size = 16
Teste56
Set
Set Objeto =
Worksheets("Exemplo").Range("
A1")
Space
String
Variavel = StrReverse("Amor")
Teste8
Variavel = Trim("
Teste9
Private
StrReverse
Trim
MARDEN")
ActiveCell.Value = 150
vbOKCancel
Visible
Plan1.Visible = False
Teste10
WindowState
Application.WindowState =
xlMaximized
Teste11
Row
Variavel = ActiveCell.Row
Teste12
Column
Variavel = ActiveCell.Column
Teste13
Ctrl + R
F4
Alt + F11
ActiveCell
ActiveWindow
Application.Run
Sub
Sheets
Range
Selection.Copy
Variavel = ActiveCell
Teste37
Application.Run("Macro1")
Sub Macro1
Range("A1:H15").Select
Teste42
Selection.End(xlToRight).Select
Selection.End(xlToUp).Select
Selection.End(xlToDown).Select
Selection.End(xlToLeft).Select
ActiveCell.Offset(0,0).select
Selection.NumberFormat =
"#,##0.00"
TODAY()
ActiveCell.FormulaR1C1 =
"=TODAY()"
Teste46
Selection.Copy
Sheets("Plan1").Select
Range("A5").Select
Variavel = InputBox("Qual o
seu Nome?")
ActiveCell.FormulaR1C1 =
CDate(Data)
Else
End If
ActiveCell.EntireRow.Select
Teste38
Variavel = ActiveCell.Offset(0, 2)
&
Teste36
Call Macro1
ClearContents
CurrentRegion.Select
Sort
Selection.ClearContents
Selection.CurrentRegion.Select
Selection.Sort
Key1:=Range("A1"),
Order1:=xlAscending
Left
Variavel =
Left("MARDEN", 5)
Teste28
Right
Variavel =
Right("MARDEN", 5)
Teste29
Teste30
Teste31
Mid
Insert
Variavel =
Mid("MARDEN", 6, 3)
Selection.Insert
Shift:=xlDown
Exit Function
Next
vbCrLf
teste1
Chr(13)
teste1
Teste2
Len
Tamanho = Len("MARDEN")
Replace
Teste3
FontStyle
ActiveCell.FontStyle = "Bold"
Teste47
Fon.Font.Bold
Selection.Font.Bold = True
Teste4
ActiveWindow.ScrollRow = 100
Teste5
CommandBars("Standard").Visib
Application.CommandBars("Stan
le = True
dard").Visible = True
Teste6
ActiveWindow.ScrollRow
ScreenUpdating
StrConv
Application.ScreenUpdating =
False
Variavel = StrConv("MARDEN
CARDOSO", 3)
Teste7
Selection.AutoFilter
Field:
Selection.AutoFilter Field:=1,
Criteria1:="1"
For
Loop
ShowAllData
For nContador = 1 To 4
ActiveSheet.ShowAllData
Application.Wait (Now +
TimeValue("0:00:30"))
Teste35
Hour(Now())
Variavel = Hour(Now())
Teste32
Minute(Now())
Variavel = Minute(Now())
Teste33
Second(Now())
Variavel = Second(Now())
Teste34
Teste39
Teste45
Teste45
Teste49
Wait
ActiveCell.Columns("A:A").Entire ActiveCell.Columns("A:A").Entire
Column.Select
Column.Select
Date
Variavel = Date()
Month
Variavel = Month(Hoje)
Teste49
Traduo. Month = Ms
Armazena na Variavel o ms contido na Variavel Hoje.
Year
Variavel = Month(Hoje)
Teste49
Day
Variavel = Month(Hoje)
Teste49
Senha
Consistir Formulario (valmir
Abril)
Teste57
Protect
ActiveSheet.Protect "senha"
Teste58
UnProtect
ActiveSheet.UnProtect "senha"
Teste59
Form
Find
Teste60
Cells.Find
Teste61