Typical While Loop VBA

Function TypicalWhileLoop()
'This performs the same as next loop but uses the while loop

Dim LCounter As Integer
LCounter = 1

While LCounter < 10 MsgBox (LCounter) LCounter = LCounter + 1 Wend End Function

About Mark

Mark Brooks a forty something individual working and living in and around Edinburgh
This entry was posted in All, MS Access, VBA Code MS Access. Bookmark the permalink.