Sarah's VB.NET Playground

SarahRawlinson
1,912 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Find my other projects on

- GitHub

- itch.io

- YouTube

VB.NET / VBA Basics

VB.NET & VBA are case insensitive meaning you can write functions & variables in lower case or upper case.

This means if we create a variable 'dim i as integer' we can also refer to this variable as 'I'.

VB.NET & VBA are similar but not the same, read more about the differences here


HELLO WORLD

IF

What is the variable 'CONDITION' in the code above?

ELSE

SELECT CASE

WHILE

FOR

FOR EACH

Advanced usage

If you want a more complex example (external libraries, viewers...), see the official documentation.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content