Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Samenvatting M&S 1: Basic Programming (VBA)

Rating
-
Sold
-
Pages
23
Uploaded on
06-07-2025
Written in
2020/2021

Samenvatting van M&S 1: Basic Programming. In deze samenvatting staat alles wat jij nodig heb om een voldoende voor M&S te halen. LET OP: Deze samenvatting is niet compleet, dus bekijk de inhoudsopgave goed om te zien wat in deze samenvatting wordt behandeld. In deze samenvatting staat alles wat in week 1 t/m 5 behandeld wordt.

Show more Read less
Institution
Course

Content preview

VBA
EXCEL
BLOCK V: BASIC PROGRAMMING

,VBA EXCEL HvA AVIATION


INHOUDSOPGAVE

DE BASIS VAN VBA......................................................................................................................................... 3
COMMENTS..........................................................................................................................................................3

LEERWEEK 1................................................................................................................................................... 4
FLOWCHART.........................................................................................................................................................4
CODES & MODULES..............................................................................................................................................5
VERWIJZINGEN.....................................................................................................................................................5
DATA TYPES..........................................................................................................................................................6

LEERWEEK 2................................................................................................................................................... 8
BEREKENINGEN.....................................................................................................................................................8
LOGICAL OPERATORS............................................................................................................................................9
LOOPS.................................................................................................................................................................10
RESERVED KEYWORDS........................................................................................................................................11
MORE DATA TYPES.............................................................................................................................................12
VARIABELEN........................................................................................................................................................13
LOCAL VARIABELEN........................................................................................................................................13
MODULE WIDE VARIABELEN..........................................................................................................................13
PUBLIC VARIABELEN.......................................................................................................................................13

LEERWEEK 3................................................................................................................................................. 14
ARRAY.................................................................................................................................................................14
LOOPS PT. II........................................................................................................................................................14
DECISION MAKING STATEMENT.........................................................................................................................15
ARRAY PT. II........................................................................................................................................................15
RESULTAAT WEERGEVEN....................................................................................................................................16
BUILT-IN FUNCTIONS..........................................................................................................................................16
CONTROLLING CODE EXECUTION.......................................................................................................................16
“IF … THEN” OF “SELECT CASE”......................................................................................................................16
LOOPS.............................................................................................................................................................17

LEERWEEK 4................................................................................................................................................. 17
FUNCTIES............................................................................................................................................................18
ERRORS...............................................................................................................................................................18

LEERWEEK 5................................................................................................................................................. 18
MASSAGE BOX................................................................................................................................................19
INPUT BOX......................................................................................................................................................19
USERFORM.....................................................................................................................................................19

, VBA EXCEL HvA AVIATION

LEERWEEK 6................................................................................................................................................. 22




DE BASIS VAN VBA


VBA wordt gebruikt om een actie binnen Excel één of meerdere malen uit te voeren. Deze
acties worden verricht door VBA codes uit te voeren. Zo’n code kan handmatig
geschreven worden of worden opgenomen. De codes worden geschreven en bewaard in
een module. Een module inzien of bewerken wordt gedaan door middel van VBE, oftewel
Visual Basic Editor.

De verzamelnaam voor de codes binnen VBE, die geschreven en bewaard worden in een
module, worden procedures genoemd. De belangrijkste taak van een procedure is om
een bepaalde taak of actie uit te voeren. Qua procedures zijn Sub procedures en Function
procedures de meest voortkomende. Het verschil tussen de twee is dat een Function
procedures berekeningen uitvoert en waardes retourneert, terwijl Sub procedures dit niet
doen.

COMMENTS

Binnen VBE kan het al snel onduidelijk worden welke code welke actie uitvoert. Voor de
schrijver kan het op dat moment duidelijk zijn wat de code doet, maar voor een collega of
medestudent die met hetzelfde document aan de slag gaat, kan dit minder duidelijk zijn.
Om aan te geven welke code wat doet, of om extra informatie toe te voegen aan de code,
kan een apostrof (‘) worden gebruikt. Door VBA wordt dit niet gelezen als code, maar als
tekst, waardoor het toevoegen van een apostrof met daarachter tekst geen invloed heeft
op de procedures.

Written for

Institution
Study
Course

Document information

Uploaded on
July 6, 2025
Number of pages
23
Written in
2020/2021
Type
SUMMARY

Subjects

$7.16
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
dannykokke

Also available in package deal

Get to know the seller

Seller avatar
dannykokke Hogeschool van Amsterdam
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
10 months
Number of followers
0
Documents
6
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions