Quantcast
Channel: Kommentare zu: Alle Excel-Dateien eines Ordners öffnen, bearbeiten und ohne zu speichern schliessen
Viewing all articles
Browse latest Browse all 2

Von: Andreas Entenmann

$
0
0

Hallo,
versuch mal diesen anzupassen:
Sub Alle_Exceldateien_nacheinander_öffnen()
Dim sFile As String, sPath As String
sPath = “D:”
sFile = Dir(sPath & “*.xls”)
Do While sFile “”
Workbooks.Open sPath & sFile
sFile = Dir()
‘Dein Code
ActiveWorkbook.Save
ActiveWorkbook.Close
Loop
End Sub


Viewing all articles
Browse latest Browse all 2

Latest Images





Latest Images