Guten Tag!
Habe folgendes Anliegen.
Ich habe eine Excel-Tabelle und importiere in eine Excel-Tabelle Inhalte aus einem anderen Excelblatt.
Die Master-Excel-Tabelle hat einen Button, wenn ich den Button drücke öffnet sich ein Filedialogfeld mit der ich die Datei importieren kann.
Das mache ich so:
Nun habe ich in der "ImportDatei" die Variable des Pfads.
Es ist aber so, dass diese Variable sehr lang ist und ich brauche aber NUR den Dateiname und nicht den kompletten Pfad + Dateiendungskürzel.
Gibt es da einen Trick, dass man wirklich NUR den Dateinamen hat in der Variable ???
Vielen Dank!
Habe folgendes Anliegen.
Ich habe eine Excel-Tabelle und importiere in eine Excel-Tabelle Inhalte aus einem anderen Excelblatt.
Die Master-Excel-Tabelle hat einen Button, wenn ich den Button drücke öffnet sich ein Filedialogfeld mit der ich die Datei importieren kann.
Das mache ich so:
Nun habe ich in der "ImportDatei" die Variable des Pfads.
Es ist aber so, dass diese Variable sehr lang ist und ich brauche aber NUR den Dateiname und nicht den kompletten Pfad + Dateiendungskürzel.
Gibt es da einen Trick, dass man wirklich NUR den Dateinamen hat in der Variable ???
Vielen Dank!