R
Rick
Currently, I use the hyperlink property of a command
button to open a Word document (for mail merging).
However, I need to be able to do this via code (e.g. when
the button is clicked a series of If Then statements
execute - if this condition is true open this document, if
that condition is true open a different document etc.) I
thought I had it by using the application.followhyperlink
function, but it is not working. Is there a simple
command that performs the same function as the hyperlink
property for opening documents? Thanks,
-Rick
button to open a Word document (for mail merging).
However, I need to be able to do this via code (e.g. when
the button is clicked a series of If Then statements
execute - if this condition is true open this document, if
that condition is true open a different document etc.) I
thought I had it by using the application.followhyperlink
function, but it is not working. Is there a simple
command that performs the same function as the hyperlink
property for opening documents? Thanks,
-Rick