Use the SendMessage API to set tab stops in a VB listbox by creating these declarations and this routine in a module: Private Declare Function SendMessage Lib _ “user32” Alias
The IsLoaded function tests to determine if any instances of a form are already loaded or exist in memory: If IsLoaded(“frmMyForm”) Then Debug.Print “frmMyForm is loaded”End IfPublic Function IsLoaded(sForm As