Office: Problem Eingabemaske Formel anpassen

Helfe beim Thema Problem Eingabemaske Formel anpassen in Microsoft Excel Hilfe um das Problem gemeinsam zu lösen; Hallo, hab' hier ein schwerwiegendes Problem! Folgende Anweisung in meiner UserForm namens "KlientenLieferantenVerwaltung" müsste so angepasst... Dieses Thema im Forum "Microsoft Excel Hilfe" wurde erstellt von timi, 13. Juni 2008.

  1. timi Erfahrener User

    Problem Eingabemaske Formel anpassen


    Hallo,

    hab' hier ein schwerwiegendes Problem!
    Folgende Anweisung in meiner UserForm namens "KlientenLieferantenVerwaltung" müsste so angepasst werden, dass nach der Eingabebestätigung ( Dateneingabe ), die TextBox22 eine Aufgabe erledigt.
    Und zwar erfasse ich hiermit Kunden. Die KundenNr. sollte nach der Eingabebestätigung selbstständig erzeugt werden ( im Format 2008-0001) und folgende Bsp.: 2008-0002 etc.
    Diese TextBox22 lasse ich bewusst leer und habe sie per Hinweis(UserForm) gesichert, so dass niemand Eintragungen darin vornehmen kann.
    Das Format der KundenNr. sollte eine Verkettung aus dem aktuellen Jahr 2008 mit Jahreswechselanpassung sein + 0001 u. folgende.
    Gehe davon aus, dass ich eine Spalte eines Tabellenblatts mit hinzuziehen muß, da sich ja Excelchen daran orientieren muß, welche KundenNr. schon vergeben wurde und welche noch frei ist. ( Gehe ich mal als Laie davon aus )?
    Die Löschen-Funktion wird hier von mir deaktiviert, so daß kein Kunde gelöscht werden kann. Dies würde dieses Drama wahrscheinlich nur noch verschlimmern!

    Zudem, kann mir jemand sagen, welche Position in dieser Anweisung bestimmt, dass TextBox1 gefüllt sein muß, damit die Eingabe akzeptiert bzw. ausgeführt wird?
    Wo kann man dies auf TextBox10 umdefinieren?

    Das ist jetzt was für Hardcore-Excelaner! Bin überfordert!

    Gruß timi

    Hier die Anweisung, welche ich bereits teilweise an meine Bedürfnisse angepasst habe:
    Option Explicit

    Private Sub ComboBox1_Click()
    If ComboBox1.ListIndex <0> 0 Then
    Rows(ComboBox1.ListIndex + 1).Delete
    TextBox1 = ""
    TextBox2 = ""
    TextBox3 = ""
    TextBox4 = ""
    TextBox5 = ""
    TextBox6 = ""
    TextBox7 = ""
    TextBox8 = ""
    TextBox9 = ""
    TextBox10 = ""
    TextBox11 = ""
    TextBox12 = ""
    TextBox13 = ""
    TextBox14 = ""
    TextBox15 = ""
    TextBox16 = ""
    TextBox17 = ""
    TextBox18 = ""
    TextBox19 = ""
    TextBox20 = ""
    TextBox21 = ""
    TextBox22 = ""
    UserForm_Initialize
    End If
    TextBox1.Value = "Nur eintragen, wenn Gewerbe!"
    TextBox2.Value = "Nur eintragen, wenn Gewerbe!"
    TextBox3.Value = "Nur eintragen, wenn Gewerbe!"
    End If
    End Sub

    Private Sub CommandButton2_Click()
    If TextBox10.Value = "" Then
    Beep
    KeinEintragVorgenommen.Show
    Else
    Dim xZeile As Long
    If TextBox1 = "" Then Exit Sub
    If ComboBox1.ListIndex = 0 Then
    xZeile = [M65536].End(xlUp).Row + 1
    Else
    xZeile = ComboBox1.ListIndex + 1
    End If
    Cells(xZeile, 13) = TextBox1
    Cells(xZeile, 14) = TextBox2
    Cells(xZeile, 15) = TextBox3
    Cells(xZeile, 16) = TextBox4
    Cells(xZeile, 17) = TextBox5
    Cells(xZeile, 18) = TextBox6
    Cells(xZeile, 19) = TextBox7
    Cells(xZeile, 20) = TextBox8
    Cells(xZeile, 21) = TextBox9
    Cells(xZeile, 22) = TextBox10
    Cells(xZeile, 23) = TextBox11
    Cells(xZeile, 24) = TextBox12
    Cells(xZeile, 25) = TextBox13
    Cells(xZeile, 26) = TextBox14
    Cells(xZeile, 27) = TextBox15
    Cells(xZeile, 28) = TextBox16
    Cells(xZeile, 29) = TextBox17
    Cells(xZeile, 30) = TextBox18
    Cells(xZeile, 31) = TextBox19
    Cells(xZeile, 32) = TextBox20
    Cells(xZeile, 33) = TextBox21
    Cells(xZeile, 34) = TextBox22
    TextBox1 = ""
    TextBox2 = ""
    TextBox3 = ""
    TextBox4 = ""
    TextBox5 = ""
    TextBox6 = ""
    TextBox7 = ""
    TextBox8 = ""
    TextBox9 = ""
    TextBox10 = ""
    TextBox11 = ""
    TextBox12 = ""
    TextBox13 = ""
    TextBox14 = ""
    TextBox15 = ""
    TextBox16 = ""
    TextBox17 = ""
    TextBox18 = ""
    TextBox19 = ""
    TextBox20 = ""
    TextBox21 = ""
    TextBox22 = ""
    Columns("M:AH").Sort Key1:=Range("M2"), Order1:=xlAscending, Header:=xlGuess, _
    OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
    UserForm_Initialize
    TextBox1.Value = "Nur eintragen, wenn Gewerbe!"
    TextBox2.Value = "Nur eintragen, wenn Gewerbe!"
    TextBox3.Value = "Nur eintragen, wenn Gewerbe!"
    End If
    End Sub

    Private Sub CommandButton3_Click()
    MaskeWirdGeschlossen.Show
    Startseite.ComboBox1.Value = "Klient / Lieferant"
    Unload Me
    End Sub

    Private Sub TextBox9_Enter()
    Länderkennzeichen.Show
    End Sub

    Private Sub UserForm_Activate()
    TextBox1.Value = "Nur eintragen, wenn Gewerbe!"
    TextBox2.Value = "Nur eintragen, wenn Gewerbe!"
    TextBox3.Value = "Nur eintragen, wenn Gewerbe!"
    End Sub

    Private Sub UserForm_Initialize()
    Dim aRow, i As Long
    Application.EnableEvents = False
    ComboBox1.Clear
    aRow = [M65536].End(xlUp).Row
    ComboBox1.AddItem "Neuer Klient / Lieferant hinzufügen"
    For i = 2 To aRow
    ComboBox1.AddItem Cells(i, 12) & " - " & Cells(i, 18) & ", " & Cells(i, 17)
    Next i
    ComboBox1.ListIndex = 0
    Application.EnableEvents = True
    End Sub
    Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
    If CloseMode = 0 Then
    Startseite.ComboBox1.Value = "Klient / Lieferant"
    End If
    End Sub
     
Thema:

Problem Eingabemaske Formel anpassen

Die Seite wird geladen...
  1. Problem Eingabemaske Formel anpassen - Similar Threads - Problem Eingabemaske Formel

  2. Data Transform, Problem with delimiter

    in Microsoft Excel Hilfe
    Data Transform, Problem with delimiter: Hello Community, I encounter one problem with excel. When I export table from csv I have a delimiter semicolon, but it doesn't work. I found solution. If I would go to Power Query Editor - Split...
  3. Problem Datenstruktur Mitglieds-Datenbank

    in Microsoft Access Hilfe
    Problem Datenstruktur Mitglieds-Datenbank: Hallo Leute, Ich habe eine Frage zu einer Vereins-Mitglieder-Datenbank, die ich erstelle. Die Vereinsmitglieder sind in einer Tabelle erfasst, also Nachname, Vorname, usw. Und es gibt einen...
  4. Seltsames Problem beim Sortieren

    in Microsoft Excel Hilfe
    Seltsames Problem beim Sortieren: Hallo! :) Ich wollte in Microsoft Excel folgende Auflistung so sortieren, dass die Werte neben den Jahreszahlen absteigend aufgelistet werden, die Jahre mit den höchsten Zahlen oben stehen:...
  5. Problem mit verschachtelter WENN Formel

    in Microsoft Excel Hilfe
    Problem mit verschachtelter WENN Formel: HiHo Ich habe ein Problem mit einer verschachtelten WENN Formel. Zur Erläuterung: D11 ist ein Hover, bei dem für die Abfrage "Arbeitstag" und "Zeitausgleich" relevant sind. C11 ist ein Datum. Es...
  6. Problem Formel

    in Microsoft Excel Hilfe
    Problem Formel: Hallo zusammen, ich benötige dringend Hilfe bei einer Formel. Scheinbar habe ich ein Brett vorm Kopf. Es wäre super nett wenn mir jemand helfen kann. Die Formel soll über ein Datum laufen. Ich...
  7. Excel TXT-File Import Problem

    in Microsoft Excel Hilfe
    Excel TXT-File Import Problem: Wenn ich ein txt-File in ein Excel importieren möchte, werden mir nur 4 Spalten anstatt 7 Spalten Angezeigt. Unten in dem Beispiel könnt ihr sehen das txt-File hat daten für 7 Spalten jedoch...
  8. Problem mit Entwicklertool PLUS und MINUS

    in Microsoft Excel Hilfe
    Problem mit Entwicklertool PLUS und MINUS: Hallo. Ich schicke mal ein Beispiel mit. Ich möchte, dass das linke Datum mit =HEUTE() angezeigt wird. Sobald ich den Drücker aktiviere, fängt er aber bei 1900 an. Ich habe =HEUTE() nicht...
  1. Diese Seite verwendet Cookies, um Inhalte zu personalisieren, diese deiner Erfahrung anzupassen und dich nach der Registrierung angemeldet zu halten.
    Auf dieser Website werden Cookies für die Zugriffsanalyse und Anzeigenmessung verwendet.
    Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies.
    Information ausblenden