Programmeren in VB&VBA: verschil tussen versies

Verwijderde inhoud Toegevoegde inhoud
Label: Herhaalde karakters
Label: Herhaalde karakters
Regel 337:
.setfocus
MsgBox "__________ " & txt________ & "_______________" , typ knoppen + pictogrammen , "____________"
type knoppen:
-VbOkOnly OK
-vbOkCancel OK en ANNULEREN
-AbortRetryIgnore Afbreken, NOGMAALS en NEGEREN
Regel 344 ⟶ 345:
-RetryCancel NOGMAALS en ANNULEREN
 
pictogrammen:
-vbCritical X
-vbQuestion ?
-vbExclamation !
-vbInformation i
 
constanten:
const naam As type = waarde
vb const conPrijs As Singel = 0.55
 
variabelen:
Dim variabelennaam As type
vb Dim strNaam As String
Daarna nog is typen om het bij elkaar op te tellen
 
Inputbox:
Inputbox("_________________", "naam dat bovenaan moet komen")
 
Keuze of selectie: vb: txt______
txt______
txt______
 
Regel 367 ⟶ 373:
END IF
 
Begrensde herhaling: vb:
FOR int______ = 1 TO getal
int______ = int______ * txt______
txt______ = txt______ & int______ & " * " & _
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.