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.

VBA-Excel. Wörter aus Spalten kopieren

Empfohlene Antworten

Veröffentlicht

Hallo.

Hätte mal ein Anliegen:

Eine Excel-Datei, mit 2 Spalten. In der ersten Spalte stehen einzelne Wörter, durch Komma getrennt. Diese sollen automatisch getrennt werden, und in jeweils einzelne Wörter in eine neue Spalte kopiert werden.

Habt Ihr da Ideen, wie diese Formel aussehen soll?!

Ich bitte um schnelle Antworten. Danke :)

Grüße

Makro aufzeichnen?^^

Ich hab sowas rausbekommen:

Sub Makro1()

'

' Makro1 Makro

'


'

    Columns("A:A").Select

    Selection.TextToColumns Destination:=Range("A1"), DataType:=xlDelimited, _

        TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, _

        Semicolon:=False, Comma:=True, Space:=False, Other:=False, FieldInfo _

        :=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1)), TrailingMinusNumbers:= _

        True

End Sub

Hab einfach ein Makro aufzeichnen lassen, als ich "Texte in Spalten" benutzt hab. Ich denke mal du meinst es so? :)

  • Autor

Also mittlerweile sind wir schon soweit:

Sub Makro1()

Dim Zelle As Range

Dim Bereich As Range

Set Bereich = Sheets("Tabelle1").Range("A2:A105")

For Each Zelle In Bereich

If Zelle.Value ... Then Zelle .... +++

Next Zelle

End Sub

Jetzt fehlen mir nur noch die Argumente.

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.