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 Application.ActiveDialog

Empfohlene Antworten

huhu

Ne frage. Es geht um Excel 2000. Ich habe hier in einem Dialog ein DrowDown Feld... wie ihr unten sehen könnt füge ich da in einer schleife etwas hinzu. Das Problem: Ich kann die liste nicht clearen. Wieso nicht? Ich kann doch auch adden. jemand ne idee?


Sub Test()

  Dim m As Boolean

  Dim i As Integer

  Dim r As String


  i = 4

  m = True


    With Application.ActiveDialog

    .[Sachkonto].Clear

      While m = True

        If Sheets("Kostenart").Cells(1, i) = "" Or IsNull(Sheets("Kostenart").Cells(1, i)) Then

          m = False

        Else

          .[Sachkonto].AddItem Sheets("Kostenart").Cells(1, i) & ", " & Sheets("Kostenart").Cells(2, i), .[Sachkonto].ListCount

        End If

      i = i + 1

      Wend

    End With


End Sub


Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.