Keywords

Keywords are special words that are reserved.
These keywords are used by the compiler to determine the structure of your code.
These are displayed in ??? by default in the Code window.
These cannot be used for variables or procedure or function names.
VBA > Syntax > Keywords
The asterisk (*) indicates contextual keywords which only exist in certain places


abstract 
add* 
alias* 
and* 
args* 
ascending* 
await* 
async* 
as 
base 
bool 
break(Statement) Ends the execution of the body of an iteration or switch statement
by* 
byte 
caseVB.Net - Case
catchVB.Net - Catch
char 
checked 
classVB.Net - Class
const 
continue 
decimal 
default 
delegate 
descending* 
do 
double 
dynamic* 
else 
enumVB.Net - Enum
equals* 
event 
explicit 
extern 
falseVB.Net - False
file* 
finallyVB.Net - Finally
fixed 
float 
forVB.Net - For
foreach 
from* 
get* 
global* 
gotoVB.Net - GoTo
group* 
ifVB.Net - If
implicit 
in 
init* 
into* 
int 
interface 
internal 
is 
join* 
let* 
lock 
long 
nameof* 
namespace 
new 
nint* 
not* 
notnull* 
null 
nunit* 
object 
on* 
operator 
or* 
orderby* 
out 
override 
params 
partial* 
privateVB.Net - Private
protectedVB.Net - Protected
publicVB.Net - Public
readonly 
record* 
remove* 
ref 
required* 
return 
sbyte 
scoped* 
sealed 
select* 
set* 
short 
sizeof 
stackalloc 
staticVB.Net - Static
stringVB.Net - String
struct 
switchVB.Net - Switch
this 
throw 
trueVB.Net - True
tryVB.Net - Try
typeof 
uint 
ulong 
unchecked 
unmanaged* 
unsafe 
ushort 
using 
virtual 
void 
volatile 
whileVB.Net - While

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext