M
Marguerite
I am trying to open a file reference that a user types into an Outlook form.
I have created a label that is unbound, but the caption identifies the type
of file to open. But when the click fires, the error says unknown error.
What am I doing wrong? Here is my code:
Sub lblPDS_Click()
strFilePath = Item.GetInspector.ModifiedFormPages _
("Request").Controls("tb_pds").value
strOneFile = strFilePath
set appobj = getobject(strOneFile)
appobj.Visible = true
End Sub
I have created a label that is unbound, but the caption identifies the type
of file to open. But when the click fires, the error says unknown error.
What am I doing wrong? Here is my code:
Sub lblPDS_Click()
strFilePath = Item.GetInspector.ModifiedFormPages _
("Request").Controls("tb_pds").value
strOneFile = strFilePath
set appobj = getobject(strOneFile)
appobj.Visible = true
End Sub