Kann man ein Dictionary in einer Excel-Datei so speichern, dass auf sie beim nächsten Öffnen von Excel wieder zugegriffen werden kann?
Ich fürchte, nein.
LG,
Franz
Sub OrdnerEinlesen()
Dim sFile 'Directory
Dim sPath As String
Dim iRow As Integer
sPath = "D:\_Excel Heute"
If Right(sPath, 1) "\" Then sPath = sPath & "\"
sFile = Dir(sPath & "*.*")
iRow = 3
Do Until sFile = ""
Cells(iRow, 2).Value = sFile
ActiveSheet.Hyperlinks.Add Anchor:=Cells(iRow, 1), _
Address:=sPath & sFile, TextToDisplay:=sFile
iRow = iRow + 1
sFile = Dir()
Loop
End Sub