Hallo
Wahrscheinlich sehe ich den Wald vor lauter Baeumen nicht.
Ich moechte eine Sub, welche mir
in
einem vorausgewählten Ordner alle Dateien nacheinander abarbeitet.
Private Sub AUTOWEITER()
Set Fs = CreateObject(
"Scripting.FileSystemObject"
)
Set Folder = Fs.GetFolder(
"c:\temp\Bilder"
)
For Each File In Folder.Files
If File.Name Like
"*.jpg"
Then
Bilddatei = Folder & File.Name
Debug.Print Bilddatei
End If
<span style=
"display: inline !important; float: none; background-color: rgb(255, 255, 255); color: rgb(34, 34, 34); font-family: Arial,Verdana,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"
> </span>
<span style=
"display: inline !important; float: none; background-color: rgb(255, 255, 255); color: rgb(34, 34, 34); font-family: Arial,Verdana,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"
>
'#########################################</span>
<span style="display: inline !important; float: none; background-color: rgb(255, 255, 255); color: rgb(34, 34, 34); font-family: Arial,Verdana,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;">'
>>> Nun habe ich die Informationen wo und mit welchen Namen die Datei existiert.</span>
<span style=
"display: inline !important; float: none; background-color: rgb(255, 255, 255); color: rgb(34, 34, 34); font-family: Arial,Verdana,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"
>
'>>> Genau diese Datei moechte ich "aktivieren" um weiteren Informationen (Eingentschaften)</span>
<span style="display: inline !important; float: none; background-color: rgb(255, 255, 255); color: rgb(34, 34, 34); font-family: Arial,Verdana,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;">'
>>>
in
einer/mehrerer UserForm-TextBox zu schreiben und evtl. Kommentare zu hinterlegen.
'>>> Die UserForm ist bereits programmiert und mit einer Einzelauswahl per Explorer auch funktionstüchtig.</span>
<span style="display: inline !important; float: none; background-color: rgb(255, 255, 255); color: rgb(34, 34, 34); font-family: Arial,Verdana,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;">'
#########################################
</span>
Next
End Sub