1 Attachment(s)
Solved: Error message: Didn't provide a valid object qualifier
I am trying to add a VBA command on a macro attached to the normal document that would close an open VBA form (fPointLinks) that is attached to an open document. The name of the opon document containing the VBA form is random and often varies.
When running the macro, I keep getting an error message that says that I didn't provide a valid object qualifier. That is likely as I don't know what I am doing. I attached a screen shot of the VBA project window as an example for naming purposes.
This is an example of what I have tried:
[VBA]
Public Sub ClosePointLinkForm()
fPointLinks.hide
End Sub
[/VBA]
Any suggestions?