Code for “Do nothing”
Is there any VBA code for “do nothing”
As an example, there is no VBA function for Is Not Null
so to carry out an action if a field is Not null
If IsNull(Fieldname) then
‘do nothing
Else DoCmd.OpenForm “Formname”
End If
This works fine with leaving the first statements...
This is probably a basic question, but I see a lot of code examples using Debug.print to copy some information to the Immediate Window
eg
Debug.Print Formname
Debug.Print (strMsgPrompt)
I can see the value of this for checking small amounts of information, but what about larger amounts.
I...
Does anyone know a way of finding/listing macros which are redundant/no longer attached to any event.The reason for this is Im converting to VBA, and each new Event procedure leaves a redundant Macro.
I could delete manually each time but the macro may be used in other places.
Ive also searched...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.