Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem about VBA in Visio!

Status
Not open for further replies.

CB06

Programmer
Dec 17, 2004
7
FR
Hi!

I would like to open the Windows dialog box "Open" with VBA specifying a filter.

With Excel I've used:
chosenFile = Application.GetOpenFilename(fileFilter:=allFileFilter, Title:=aWindowTitle, MultiSelect:=True)
but it doesn't work with VBA in Visio (GetOpenFileName doesn't exist). Is there an equivalent to use in Visio?

I've also tried to use a common dialog control but I can't insert it on my Visio drawing (I've a problem with the licence). Is there another solution to do this?

Many thanks!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top