|
nom
en anglais |
nom
fr (complément) |
rubrique |
|
" " |
double
guillemets (VBA) COMPLEMENT : Trouvé = "oui"...If trouvé = "oui"
Then |
base |
|
& |
et (VBA
: autre exemple) COMPLEMENT : Rows("1:" & i).Select |
base |
|
& |
et (VBA)
COMPLEMENT : ex1 = "nom " & "prénom" |
base |
|
: |
de à
(VBA) COMPLEMENT : With Range("F20:F29") |
instruction |
|
? |
dans la
fenêtre exécution permet de savoir la valeur d'un élément COMPLEMENT
: ? vbquestion+vbyesno -> donne la valeur 36 (32+4=36) |
base |
|
_ |
permet
de continuer une instruction à la ligne suivante COMPLEMENT : msgbox
"La valeur de J vaut : & _ .....j |
base |
|
< |
plus
petit (VBA) COMPLEMENT : Do While ex1 < ex2 … Loop |
opérateur |
|
<> |
différent (VBA) COMPLEMENT : Do While ThisWorkbook.ActiveSheet.Cells(1,
I).Value <> ""…Loop |
base |
|
ActiveSheet |
feuille
active (VBA) COMPLEMENT : ActiveSheet.Paste |
base |
|
before |
avant
(Excel VBA) COMPLEMENT : Sheets.Add before:=Sheets(1) permet ajouter
une feuille avant la feuille 1 |
base |
|
bold |
gras
COMPLEMENT : range("A1").font.bold = true mettre la cellule A1 en
gras |
base |
|
byte |
octet
(VBA) COMPLEMENT : Dim exemple As Byte |
base |
|
call |
appeler
(VBA) COMPLEMENT : Call exemple(ex1) …Sub (Ex1) |
base |
|
Cells |
cellules
(VBA) COMPLEMENT : Cells(a, b).Value="exemple" |
base |
|
ClearContents |
vider le
contenu (VBA) COMPLEMENT : Selection.ClearContents |
base |
|
Date |
variable
de type Date (VBA) COMPLEMENT : Dim ex1 As Date |
variable |
|
Debug.Print |
affichage dans la fenêtre exécution COMPLEMENT : Debug.print i
(affichage de la valeur de i dans la fenêtre exécution) |
debug |
|
dim |
dimensionnement COMPLEMENT : Dim ex1 As String ….Dim tableaux(3) as
String |
instruction |
|
DO While |
faire
tant que (VBA) COMPLEMENT : Do While …And…EX1<>"" … Loop |
instruction |
|
Exit Sub |
sortir
de la procédure COMPLEMENT : IF … Exit Sub… End IF |
base |
|
Find |
trouver
(VBA) COMPLEMENT : .find("ex1",LookIn:=xlValues) |
fonction |
|
For |
pour
(VBA) COMPLEMENT : For ex1 = 1 To 100 … Next ex1 |
instruction |
|
Format |
format
(VBA) COMPLEMENT : EX1 = Format(EX2, "yyyy") ' année en 4 positions |
base |
|
Function |
fonction
(VBA) COMPLEMENT : Function Recherche_colonne(ex1,ex2) As String…End
Function |
base |
|
Hidden |
cacher
(VBA) COMPLEMENT : Selection.EntireColumn.Hidden = False |
propriété |
|
if |
si VBA
COMPLEMENT : If ex1 <> 1 Then… End If |
base |
|
InputBox |
zone
d'introduction (VBA) COMPLEMENT : v_mois = InputBox("Introduire
votre mois") |
base |
|
Integer |
entier
(VBA) COMPLEMENT : Dim ex1 as Integer |
variable |
|
Lbound |
retourne
le plus petit indice d'un tableau COMPLEMENT : For i = LBound(ex1)
To UBound(ex1)…next |
fonction |
|
lTrim |
suppression des blancs à gauche |
caractère |
|
msgbox
(Excel) |
boîte de
message COMPLEMENT : msgbox "la valeur de I vaut " & i |
instruction |
|
Nothing |
rien
(VBA) COMPLEMENT : If not ex1 Is Nothing then… End If |
base |
|
On Error
GoTo |
si
erreur aller à COMPLEMENT : On Error GoTo exemple …. Exemple: |
instruction |
|
Paste |
coller
(VBA) COMPLEMENT : ActiveSheet.Paste |
base |
|
replace |
remplacer (VBA) COMPLEMENT : ex1= Replace (cells(i,2).value,".","/") |
fonction |
|
resume
next |
reprendre l'instruction à la ligne suivante COMPLEMENT : On Error
Resume Next |
instruction |
|
select
case |
sélection suivant la valeur d'une variable (VBA) COMPLEMENT : Select
Case exemple…Case is = "ex1"… End Select |
base |
|
set |
mettre
(VBA) COMPLEMENT : set ex1 = .Find(…) (avec Dim ex1 as Range) |
insecte |
|
sheets |
feuille
COMPLEMENT : Sheets ("ex1").Select |
base |
|
Sub |
procédure (VBA) COMPLEMENT : Sub ex1() … End Sub |
base |
|
Ucase |
met en
majuscule le texte(VBA) COMPLEMENT : exemple= "vase" ..ex1 = Ucase(exemple)
-> ex1 vaut VASE |
fonction |
|
vbBlue |
constante pour le blue COMPLEMENT : Range("A7:F7").Interior.Color =
vbBlue |
constante |
|
vbOKCancel |
constante "ok, supprimer" (VBA) COMPLEMENT : ex1=MsgBox("exemple" ,vbOKCancel,
"Confirmation") |
base |
|
vbRed |
constante pour le rouge COMPLEMENT : sheets(1).tab.color = vbRed |
constante |
|
vbYes |
réponse
oui COMPLEMENT : if ex5 = vbYes then |
constante |
|
vbYesNo |
constante oui, non (VBA) COMPLEMENT : MsgBox("exemple",vbYesNo) |
base |
|
vbYesNoCancel |
3:
affiche Abandonner, Réessayer et Ignorer COMPLEMENT : MsgBox("exemple",vbYesNoCancel) |
constante |
|
visible |
visible
(VBA) COMPLEMENT : Sheets("EX1").Visible = True |
base |
|
With
range |
tant que
(VBA) COMPLEMENT : With Range ("A:A")…End With |
instruction |