As a Newbie to VBA, I've just had a successful conclusion to a
protracted struggle with attempts to open a browse window that allows
one to find a file and have that file's path saved in a bound control
that is set as a hyperlink.
I started with the code in http://www.mvps.org/access/api/api0001.htm.
Whilst this dropped the path into the correctly into the control, it
would not work as a hyperlink. But with a bit more ferreting around
the NG, I came across the solution which was to add a prefix to the
path as follows:-
Me.TxtURL = "#file://" & strInputFileName & "#"
This might be useful to some of the other Newbies out there.
Now, being as ambitious as ever, I want to get the browse window to
start at a particular folder on the network. At present it opens at
'My Documents'.
Any ideas how we can get round this?
Yvonne