Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function ProcExists(FormName as String, ProcName as String) as Boolean
Dim Cod as string
Cod=vbe.VBProjects(1).VBComponents(FormName) _
.CodeModule.Lines(1, .CodeModule.CountOfLines)
If instr(1,cod,"Sub " & ProcName)<>0 then
ProcExists=True
Else
ProcExists=False
Endif
Dim ErNo As Long
On Error Resume Next
Fm.Frm.LfnCallBack (PassTxt)
ErNo = Err.Number
If ErNo <> 438 Then Err.Raise ErNo ' ErNo 438 non
-fatal - procedure does not exist
On Error GoTo 0