> I've created a hyperkink to open a pdf file that is working good
> (thanks this newsgroup).
[quoted text clipped - 6 lines]
>
> Thanks
I don't know the answer to this question, but supplying two links and
designating the file type to the consumer offering them a choice seems
feasible.

Signature
Brian Kvalheim
Microsoft Publisher MVP
http://www.publishermvps.com
This posting is provided "AS IS" with no warranties, and
confers no rights.
Alex - 04 Oct 2005 00:34 GMT
Thanks for your reply, Brian.
But, actually it's not about a choice. It's about if there is no any choice.
If Acrobat reader is not installed on the user machine so instead of the
error generating the word document could be opened. If there are no MS Word
or Acrobat on the computer there will be a message "Please, install ...".
But, I don't know how to generate a click event on the object with the
hyperlink and whether it's enough to catch an error after the click on pdf
openning (On Error GoTo Next) to go the next row to open the Word and if
there is an error again then to show the MsgBox.
> > I've created a hyperkink to open a pdf file that is working good
> > (thanks this newsgroup).
[quoted text clipped - 10 lines]
> designating the file type to the consumer offering them a choice seems
> feasible.
Alex <Alex@discussions.microsoft.com> was very recently heard to utter:
> hyperkink
Oops.
> Can I insert some code in the VB Publisher to recognize whether a
> user can open the pdf file and in case he/she cannot (no Acrobat,
> etc.) do this then to open the word .doc file. If the user cannot
> open pdf and word to provide the user with a message to install pdf
> or word?
This is not possible, sorry.

Signature
Ed Bennett - MVP Microsoft Publisher