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.

Pull Down Menues und Programmieren in MS-Exel 2003

Empfohlene Antworten

Veröffentlicht

Hallo Leute,

ich will eine kleines Proggi in Excel machen das ein Eingabe-Feld hat ein Ausgabe Feld und 2 Drop Down Menues. Je nach auswahl der Drop Down Menues wird aus dem eingabe Wert eine Wert in dem Ausgabefeld berechnet.

Bevor ich anfange.

Ist sowas in Excel überhaupt möglich ?

Wo finde ich Dokus zum Programmieren in Excel ??

Wie fängt man da überhaupt an ?

Ich selbst kann Java, C++ und Cobol. Aber in Excel habe ich sowas noch nie versucht. Leider ist Excel bestandteil der Anforderung !

Extras -> Makro -> Visual Basic Editor.

Da kannst du dir nach Lust und Laune eine GUI basteln. Beim Doppelklick auf Elemente des gebastelten Formulars kommst du direkt zum Code.

Hier ein Beispiel:

Du brauchst eine UserForm mit 3 Textboxen, einer Combobox und einem Button.

Dann fügst du folgenden Code ein:

Private Sub CommandButton1_Click()

On Error Resume Next

Select Case ComboBox1.Value

Case "+": TextBox3.Value = Int(TextBox1.Value) + Int(TextBox2.Value)

Case "-": TextBox3.Value = Int(TextBox1.Value) - Int(TextBox2.Value)

End Select

End Sub

Private Sub UserForm_Initialize()

ComboBox1.AddItem "+"

ComboBox1.AddItem "-"

End Sub

Is natürlich nicht sauber, erfüllt aber seinen Zweck.

Gruß,

Matze

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.