M
maria
I will like to create a browse button than open the directory C:\ and after I
select the file it put the path in a text box which is a hyperlink.
I read a load of question already posted because I don’t want to repeat a
question.
I download these one;
http://community.compuserve.com/n/p...yMessages&tsn=1&tid=22415&webtag=ws-msdevapps
but I am having some trouble with it since I am not familiar with VBA
procedures, I am just copy/paste the procedure.
I follow all the instruction. I save the Class Module
BrowseForFileClass.txt. The form has a browse button name=â€BrowseBtn†and a
textbox name=â€FormLetterCboâ€
When I click on the browse button I receive this message:
“Compaile error
User-defined type not defineâ€.
After click on OK it take me to the VBA screen and select “OpnDialog As New
BrowseForFileClass “
Where I should define the OpnDialog or what I am doing wrong?
I also try these one: http://www.mvps.org/access/api/api0001.htm; but after
I copy the prodedure I receive the message:
“The expression on click you entered as the event property setting prodece
the following error: Only comment may appear after End Sub, End Function, or
End Property.
Appreciate some help.
Thanks in advanced.
select the file it put the path in a text box which is a hyperlink.
I read a load of question already posted because I don’t want to repeat a
question.
I download these one;
http://community.compuserve.com/n/p...yMessages&tsn=1&tid=22415&webtag=ws-msdevapps
but I am having some trouble with it since I am not familiar with VBA
procedures, I am just copy/paste the procedure.
I follow all the instruction. I save the Class Module
BrowseForFileClass.txt. The form has a browse button name=â€BrowseBtn†and a
textbox name=â€FormLetterCboâ€
When I click on the browse button I receive this message:
“Compaile error
User-defined type not defineâ€.
After click on OK it take me to the VBA screen and select “OpnDialog As New
BrowseForFileClass “
Where I should define the OpnDialog or what I am doing wrong?
I also try these one: http://www.mvps.org/access/api/api0001.htm; but after
I copy the prodedure I receive the message:
“The expression on click you entered as the event property setting prodece
the following error: Only comment may appear after End Sub, End Function, or
End Property.
Appreciate some help.
Thanks in advanced.