Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
vba courses london - errors vba

Forum home » Delegate support and help forum » Microsoft VBA Training and help » vba courses london - Errors in VBA

vba courses london - Errors in VBA

ResolvedVersion Standard

Kerry has attended:
Excel VBA Intro Intermediate course

Errors in VBA

How do I find and correct errors in VBA?

RE: Errors in VBA

press the F8 key that walks you through the macro step by step

VBA tip:

Use VbNullString instead of

When needing to default a String variable back to it's default of "" use vbNullString as in the following example:

Sub ClearText()

Dim strEmpName As String

strEmpName = "John Smith"
MsgBox strEmpName

strEmpName = vbNullString
MsgBox strEmpName

End Sub

View all VBA hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.