Hallo,
ich habe da ein Script , mit dem ich aus Excel importieren (Teilscript unten) kann.
Jedoch werden mir nur Dateien mit Präfinx "xls" angezeigt
Nun möchte ich jedoch dass nur Dateien mit Präfix "csv" angezeigt werden, ich dachte es geht, wenn ich diese Zeile von fn =uiws.OpenFileDialog(False, "Select the Excel File to Import", "Excel files | *.xls", "c:\")
nach fn =uiws.OpenFileDialog(False, "Select the Excel File to Import", "Excel files | *.csv ", "c:\") ändere, geht aber nicht, wo ist mein Gedankenfehler.
Ich muss dazu sagen, dass ich mit script noch nicht viel Berührung hatte.
===============
Set db = session.CurrentDatabase
fn= uiws.Prompt(1, "Reminder- Excel Worksheet Setup", "Make sure that the first row of your worksheet contains the EXACT Notes document field names from your form.")
'Get Excel file name
fn =uiws.OpenFileDialog(False, "Select the Excel File to Import", "Excel files | *.xls", "c:\")
xlFilename = Cstr(fn(0)) ' This is the name of the Excel file that will be imported
================
Ron