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.

Excel Makro

Empfohlene Antworten

Veröffentlicht

Hi Leute,

ich hab da ein Problem. Ich erklärs am besten an einem Beispiel:

Ich hab in Excel folgende Tabelle:

1 Test Testhuber

1 Test2 Testhuber2

2 ..... .........

2 ..... ..........

2 .... .........

2 ...... .........

4 ...... ........

Die Daten sind nach der ersten Spalte sortiert.

Jetzt benötige ich ein Makro mit dem ich nach den verschiedenen Gruppe (1, 2 und 4) zwei Leerzeilen einfügen kann. Kann mir da irgendjemand helfen? Danke schon mal im vorraus.

Schaf

Hi,

das hier sollte dir helfen:


Sub Splitter()            '(by) KarlBerg

For i = 1 To Tabelle1.UsedRange.Count

    hlp = Range("A" & i + 1)

    erg = Range("A" & i)

    If erg <> hlp And erg <> "" Then

        Rows(i + 1 & ":" & i + 1).Select

        Selection.Insert Shift:=xlDown

        Selection.Insert Shift:=xlDown

    End If

Next i

End Sub

Splittet nach der ersten Spalte (A).

MfG

KarlBerg

Danke, ich werd's gleich mal ausprobieren.

Schaf

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.