-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
VBA File Browser
Home > Community > Automation and VBA > VBA File Browser
- This topic has 2 replies, 2 voices, and was last updated 8 years, 9 months ago by HerveM1234.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
February 15, 2016 at 1:39 pm #12902HerveM1234Participant
Hi,
Why the syntax :
fileToOpen = Application _ .GetOpenFilename("Text Files (*.txt), *.txt") If fileToOpen False Then MsgBox "Open " & fileToOpen End If
returns “error 438” ?
How to browse directories using FlexPro VBA ?
ThanksFebruary 15, 2016 at 1:39 pm #8562HerveM1234ParticipantHi,
Why the syntax :
fileToOpen = Application _ .GetOpenFilename("Text Files (*.txt), *.txt") If fileToOpen <> False Then MsgBox "Open " & fileToOpen End If
returns “error 438” ?
How to browse directories using FlexPro VBA ?
ThanksFebruary 16, 2016 at 12:08 pm #9430Bernhard KantzParticipantGetOpenFilename() is (as the error 438 states) no part of the FlexPro object model. It is a function from the Win32 API (and also mimicked by MS Office applications).
You may use the FileDialog property to display a file chooser. An example can be found in the online help (Index: FpFileDialog (object), follow Example link). -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.