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 exel dateien außesen....

Empfohlene Antworten

Veröffentlicht

das ist das problem...

Private Type TagInfo

Tag As String * 3

Title As String * 30

Interpret As String * 30

Album As String * 30

Jahr As String * 4

Kommentar As String * 30

End Type

Sub TagInfoLesen()

Dim CurrrentTag As TagInfo

Dim strDateiname As String

Dim intDateiNR As Integer

Dim rg As Range

Dim strPfad As String

Dim i As Long

On Error Resume Next

strPfad = "F:\New Musik"

ActiveSheer.Rangge("A1").Formula = "Inhalt des Ordners: " & strPfad

Set rg = ActiceSheet.Range("A2")

rg.Offset(0, 0).Formula = "Inerpret"

rg.Offset(0, 1).Formula = "Titel"

rg.Offset(0, 2).Formula = "Album"

rg.Offset(0, 3).Formula = "Kommentar"

rg.Offset(0, 4).Formula = "Dateiname"

intDateiNR = FreeFile

strDateiname = Dir(strPfad & "*.mp3")

i = 1

Do While strDateiname <> ""

Open strPfad & strDateiname For Binary As #intDateiNR

With CurrentTag

Get #intDateiNR, FileLen(strPfad & strDateiname) - 127, .Tag

If Not .Tag = "Tag" Then

Close #intDateiNR

GoTo Weiter

End If

Get #intDateiNR, , .Title

Get #intDateiNR, , .Interpret

Get #intDateiNR, , .Album

Get #intDateiNR, , .Jahr

Get #intDateiNR, , .Kommentar

Close #intDateiNR

rg.Offset(i, 0).Formula = EintragTrimmen(.Interpret)

rg.Offset(i, 1).Formula = EintragTrimmen(.Titel)

rg.Offset(i, 2).Formula = EintragTrimmen(.Album)

rg.Offset(i, 3).Formula = EintragTrimmen(.Jahr)

rg.Offset(i, 4).Formula = EintragTrimmen(.Kommentar)

Weiter:

rg.Offset(i, 5).Formula = strDateiname

i = i + 1

End With

strDateiname = Dir

Loop

End Sub

Function EintragTrimmen(Eintrag) As String

Dim j As Integer

Dim strChar As String

j = InStr(Eintrag, vbNullChar)

If j > 0 Then

Eintrag = Left(Eintrag, j - 1)

End If

EntragTrimmen = RTrim(Eintrag)

End Function

kann mir einer sagen was ich falsch gemacht habe?

Du musst schon ein bischen deutlicher werden, ich glaube, es versteht keiner, was du eigentlich willst.

Poste bitte noch folgende Informationen :

  • Welche Excel-Version ?
  • Was willst du tun ?
  • Wo treten die Probleme auf ?

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.