DialogBox

G

Greg

I would like to create my own UserForm with browse window.
How to do that?
I want to point(only, not open) at file in computer and then send its
path to program (as a string)
I dont know how to create my own userform with "browsing" window and
some more buttons to send this info further.
Thanks for help in advice.
 
H

Harald Staff

Hi

Use something already built-in instead of creating a form:

Sub test()
Dim V
V = Application.GetOpenFilename
If V = False Then
MsgBox "chicken"
Else
MsgBox "Something with " & CStr(V)
End If
End Sub
 

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