FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro-Support
Wissen
Community
Über Uns
Referenzen
Jobs
Allgemeiner Kontakt
Händlerverzeichnis
FlexPro-Support
DE
EN
FR
Placeholder
Produkte und Lösungen
Support und Downloads
Unternehmen
Magazin
Kontakt
Sprache
MyWeisang

Account Einstellungen

Topic

VBA File Browser

Startseite ' Community ' Automation and VBA ' VBA File Browser

Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #35224
    HerveM1234
    Teilnehmer

    Hi,

    Why the syntax : [code]
    fileToOpen = Application _
    .GetOpenFilename(“Text Files (*.txt), *.txt”)
    If fileToOpen <> False Then
    MsgBox “Open ” & fileToOpen
    End If
    [/code]
    returns “error 438” ?

    How to browse directories using FlexPro VBA ?
    Thanks

    #35226
    HerveM1234
    Teilnehmer

    Hi,

    Why the syntax : [code]
    fileToOpen = Application _
    .GetOpenFilename(“Text Files (*.txt), *.txt”)
    If fileToOpen False Then
    MsgBox “Open ” & fileToOpen
    End If
    [/code]
    returns “error 438” ?

    How to browse directories using FlexPro VBA ?
    Thanks

    #35225
    Bernhard Kantz
    Teilnehmer

    GetOpenFilename() 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).

Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.