Finde Antworten, stelle Fragen und schließe dich mit unserer Community zusammen.

Startseite Forums Excel VBA Code Snippets Test Einfach

  • tom

    Administrator
    18. Dezember 2024 at 12:57

    Antwort 1:

    Sub Test ()
    MsgBox "Hallo zurück!"
    End Sub

  • tom

    Administrator
    20. Dezember 2024 at 17:04

    Sub Test()

  • tom

    Administrator
    20. Dezember 2024 at 17:12

    Test

  • tom

    Administrator
    20. Dezember 2024 at 17:22

    Test Wild

  • tom

    Administrator
    20. Dezember 2024 at 17:33

    Test

  • tom

    Administrator
    20. Dezember 2024 at 17:36

    Test

    • Excel Community

      Administrator
      6. Februar 2025 at 13:26


      Sub Einfuegen_nur_sichtbar()
      Application.ScreenUpdating = False
      'Zwischenablage überprüfen
      If Not ClipboardHasData() Then
      MsgBox "Die Zwischenablage ist leer.", vbExclamation
      Exit Sub
      End If
      Dim clipboardData As New MSForms.DataObject
      Dim splitData As Variant
      Dim targetRow As Long
      Dim targetColumn As Long
      Dim lastRow As Long
      'Zwischenablage auslesen
      clipboardData.GetFromClipboard
      splitData = Split(clipboardData.GetText, vbCrLf)
      'Aktuelle Zeile und Spalte
      targetRow = Selection.Row
      targetColumn = Selection.Column
      'Letzte Zeile
      lastRow = GetLastRow(ActiveSheet, 1)
      Dim i As Long
      Dim n As Long
      Dim x As Long
      n = 0
      x = 0
      'Werte aus Zwischenablage in die sichtbaren Zeilen einfügen
      For i = targetRow To lastRow
      If Not Rows(i).EntireRow.Hidden Then
      Cells(targetRow, targetColumn).Value = splitData(x)
      x = x + 1
      End If
      'n = n + 1
      Next i
      Application.ScreenUpdating = True
      End Sub

  • tom

    Administrator
    17. Februar 2025 at 14:59

    Sub Test ()
    MsgBox "Hallo Welt!"
    End Sub
  • tom

    Administrator
    17. Februar 2025 at 15:00

    Sub Test ()
    MsgBox "Hallo Welt!"

    End Sub

  • tom

    Administrator
    17. Februar 2025 at 15:01
    Sub Test()
    MsgBox "Hallooo!"
    End Sub
  • tom

    Administrator
    17. Februar 2025 at 15:01

    Sub Test()
    MsgBox "Mit Extrazeile"
    End Sub ()
  • tom

    Administrator
    17. Februar 2025 at 15:03

    Sub Test()

    MsgBox “Hallo!”

    End Sub

  • tom

    Administrator
    17. Februar 2025 at 15:17

    Sub Test()
    MsgBox "Hallo"
    End Sub
  • tom

    Administrator
    17. Februar 2025 at 15:17
    Sub Test()
    MsgBox "!"
    End Sub
  • tom

    Administrator
    17. Februar 2025 at 15:19
    Sub Test()
    MsgBox "!"

    End Sub

  • tom

    Administrator
    17. Februar 2025 at 15:20

    Sub Test()
    End Sub
Page 1 of 2

Log in to reply.