Assign a variables value to a TextBox

E

ed

I am using the application.getfile in the following
manner to send the selected applications path to a
variable. But I don't know how to send it to a textbox.


dim strpath as string

application.getopenfilename = strpath


Thanks
Edward
 
T

Tom Ogilvy

dim strpath as string

strPath = application.getopenfilename
Useform1.Textbox1.Value = strPath
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top