Anzeige
Anzeige
HERBERS
Excel-Forum (Archiv)
20+ Jahre Excel-Kompetenz: Von Anwendern, für Anwender
Inhaltsverzeichnis

Dateityp "SLDRPRT"

Forumthread: Dateityp "SLDRPRT"

Dateityp "SLDRPRT"
07.01.2020 12:38:08
Hajo_Zi
Hallo,
ich muss in einem Ordner prüfen ob eine Datei vom Typ
"SLDPRT" oder "STEP"
vorhanden ist.
Wie mache ich dies?
"DXF und "PDF" habe ich schon realisiert.
                            StDatei = .Cells(LoI, 1) & ".pdf"
If Dir(LwQuelle & StDatei, vbDirectory)  "" Then
Gruß Hajo
Anzeige

6
Beiträge zum Forumthread
Beiträge zu diesem Forumthread

Betreff
Datum
Anwender
Anzeige
AW: Dateityp "SLDRPRT"
07.01.2020 12:53:46
Nepumuk
Hallo Hajo,
so:
If Dir$(strFolderPath & "*.SLDPRT") & Dir$(strFolderPath & "*.STEP") <> vbNullString Then
    MsgBox "mindestens eine der gesuchten dateitypen ist im Ordner."
End If

Gruß
Nepumuk
Anzeige
AW: Dateityp "SLDRPRT"
07.01.2020 13:04:33
Hajo_Zi
Hallo Nepumuk,
Danke.
Gruß Hajo
AW: Dateityp "SLDRPRT"
07.01.2020 13:10:13
Hajo_Zi
Hallo Nepumuk,
noch folge Frage.
Wie kopiere ich diese Datei?
Das ist falsch
FileCopy LwQuelle & StDatei, LwZiel & StDatei
Gruß Hajo
gelöst
07.01.2020 13:16:53
Hajo_Zi
Hallo Nepumuk,
der Ordner war falsch
Gruß hajo
Anzeige
AW: Dateityp "SLDRPRT"
07.01.2020 12:57:37
Jürgen
Hallo Hajo,
funktioniert dies nicht mit den Endungen
"SLDPRT" = ".SLDPRT"
"STEP" = ".STP"
Gruß
Jürgen
AW: Dateityp "SLDRPRT"
07.01.2020 13:11:12
Hajo_Zi
Hallo Jürgen,
das hatte ich schon getestet.
Nepumuk hat es gelöst.
Gruß Hajo
;

Forumthreads zu verwandten Themen

Anzeige
Anzeige
Anzeige

Beliebteste Forumthreads (12 Monate)

Anzeige
Anzeige
Anzeige