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.

Empfohlene Antworten

Veröffentlicht

Hallo,

muss mittels VBA mehrere Gültikkeitslisten erstellen.


Private Sub GenerateList(pos As String, inhalt As String, seite As String)

    Sheets(seite).Select

    Range(pos).Select

    Selection.NumberFormat = "@"

    With Selection.Validation

        .Delete

        .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _

        xlBetween, Formula1:=inhalt

        .IgnoreBlank = True

        .InCellDropdown = True

        .InputTitle = ""

        .ErrorTitle = ""

        .InputMessage = ""

        .ErrorMessage = ""

        .ShowInput = True

        .ShowError = True

    End With

End Sub

Das funktioniert eigentlich auch wunderbar nur das in einem Fall nicht alles in die Liste kommt.

Da die länge einer VBA Zeile beschränkt ist. Habe gedacht es hilft wenn ich einfach 3 strings benutzte und die aneinanderhänge was leider nicht geholfen hat.

Hat irgendjemand eine Idee wie ich das Problem lösen könnte?

Für eure Hilfe Danke ich euch im Vorraus

gruß

dark-lost-soul

Ich denke mal schon habs so in vielen foren gelesen

aber ich hab das problem jetzt anders gelöst hab den string ein bissl beschnitten und es wird dann wenn der jeweilige eintrag ausgewählt wurde wieder drangehängt :D

aber trotzdem danke für die hilfe :)

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.