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. Outlook Problem

    in Microsoft Outlook Hilfe
    Outlook Problem: Hallo zusammen, ich brauche Hilfe bei folgendem Problem. Ich bekomme pro Woche ca. 44 Mails vom immer gleichen Absender, no-reply@deutschepost.de mit immer dem gleichen PDF-Anhang. Die...
  3. Problem bei Fußnote

    in Microsoft Word Hilfe
    Problem bei Fußnote: Hallo zusammen, habe folgendes Problem. Sobald ich eine Fußnote einfüge, erscheint automatisch am Ende der Seite eine Art Überschrift mit der Zahl 1. Hier der Screenshot. Habe schon alles...
  4. Excel found a problem with one or more formula references in this worksheet

    in Microsoft Excel Hilfe
    Excel found a problem with one or more formula references in this worksheet: Liebes Forum, ich habe ein Problem, das viel durch das Internet geistert, aber nirgendwo gibt es eine erfolgreiche Lösung für: "Excel found a problem with one or more formula references in this...
  5. Zählenwenns Problem

    in Microsoft Excel Hilfe
    Zählenwenns Problem: Hallo. Ich möchte zählen wie oft der Name Person 2 vorkommt aber nur dann wenn darüber ein anderer Name steht. Also in C3 sollte 5 mal stehen aber in C4 nichts bzw. 0 Dann in C8 die 2 und in C9...
  6. Problem mit Seitenzahlen/Seitenbeschriftung

    in Microsoft Word Hilfe
    Problem mit Seitenzahlen/Seitenbeschriftung: Hallo, ich schreibe gerade meine Masterarbeit und habe ein kurioses Problem, bei dem ich nicht weiterkomme. Ich habe eine "beidseitige" Vorlage für die Masterarbeit der Universität verwendet. Da...
  7. 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...
  8. 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...
  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