Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mit VBA Ordner auslesen? und ein Index erstellen???

Empfohlene Antworten

Veröffentlicht

Wie oder mit welcher Funktion kann ich mit einem Makro unter Excel einen Ordner auslesen und den Inhalt darstellen, z.b. in einer Txt?? Kann man dann auch anhand dieser Txt ein Array füllen das die Verknüpfungen zu den einzelnen Dateien beinhaltet, so das man anhand der Txt sagt wenn ich die Datei 3 aufrufen will, muss ich nur der Verknüpfung vom Array an der Stelle 3 folgen...... :eek

Wenn ich das richtig verstanden habe, möchtest du den Inhalt eines Ordners habe. Hier ein kleines Bsp.

Sub Schaltfläche1_BeiKlick()

Dim Verzeichnis

Dim Zeile As Integer

Dim Dateityp As String

Dim Dateiname As String

Verzeichnis = "C:\Test\"

Dateityp = "*.*"

Dateiname = Dir(Verzeichnis & Dateityp)

Zeile = 1

Do While Dateiname <> ""

Sheets("Tabelle1").Cells(Zeile, 1).Value = Dateiname

Zeile = Zeile + 1

Dateiname = Dir

Loop

End Sub

Gruß jh23

P.S. Hoffe konnte Dir helfen

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.