+ Reply to Thread
Results 1 to 10 of 10

wert bleibt dauerhaft in Zelle wenn Bedienung erfüllt

Hybrid View

  1. #1
    Registered User
    Join Date
    11-04-2024
    Location
    Kassel, Deutschland
    MS-Off Ver
    2013
    Posts
    5

    wert bleibt dauerhaft in Zelle wenn Bedienung erf?llt

    Hallo zusammen,

    ich habe ein Suchfeld in dem man eine Nummer eingeben kann die dann in meiner Tabelle gesucht wird und wenn diese Zahl gefunden wurde soll in der Zelle davor ein "x" eingetragen werden.
    Das ist soweit �ber eine Wenn Funktion gel�st nun kommt es zu meinem Problem.
    Nachdem das "x" gesetzt wurde soll es auch dauerhaft in der Zelle stehen bleiben, denn durch dieses "x" wird eine Bedingte Formatierung aktiviert.
    Wenn ich nun aber die Zahl aus dem Suchfeld l�sche um eine neue Zahl einzugeben. Wird bei mir leider auch das "x" wieder gel�scht und somit auch die Bedingte Formatierung.
    In der Zelle ist mit dem "x" steht die Wenn Formel im Bezug auf das Suchfeld. Vielleicht hat jemand eine Idee wie man die Formel unwirksam macht sobald die
    Wenn Bedingung erf�llt ist so das das "x" dann dauerhaft in der Zelle bleibt. Oder irgend eine andere L�sung.
    W�re sehr sch�n wenn es ohne VBA geht.

    danke

    Ist es für einen VBA-Anfänger möglich, das umzusetzen?
    Ziel ist es, dass diese Funktion auf 52 Arbeitsblättern (für jede Kalenderwoche eine)
    läuft und auf jedem Blatt 5 - 6 Spalten anspricht, in denen dann das „x“
    dauerhaft nach erfolgter Suche bleiben soll.
    Attached Files Attached Files
    Last edited by Dridrops; 11-05-2024 at 09:42 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,411

    Re: wert bleibt dauerhaft in Zelle wenn Bedienung erf?llt

    Hello everyone I have a search field in which you can enter a number, which is then searched for in my table and if this number is found, an "x" should be entered in the cell in front of it. This is so far solved via an If function, now it comes to my problem. After the "x" has been set, it should remain permanently in the cell, because this "x" activates conditional formatting. But if I now delete the number from the search field to enter a new number. Unfortunately, the "x" is also deleted for me and thus also the conditional formatting. In the cell with the "x" is the If formula in relation to the search field. Maybe someone has an idea how to make the formula ineffective as soon as the If the condition is met, the "x" then stays permanently in the cell. Or any other solution. Would be very nice if it works without VBA. Thank you

    Leider benötigen Sie hierfür VBA.
    Last edited by TMS; 11-05-2024 at 03:08 AM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-04-2024
    Location
    Kassel, Deutschland
    MS-Off Ver
    2013
    Posts
    5

    Re: wert bleibt dauerhaft in Zelle wenn Bedienung erf?llt

    Danke für die schnelle Antwort.

    Ist es für einen VBA Anfänger möglich das umzusetzen?
    Ziel ist es das diese Funktion auf 52 Arbeitsblättern (für jede Kalenderwoche eine)
    läuft und auf jeden Blatt 5 - 6 spalten anspricht in denen dann das "x"
    dauerhaft nach erfolgter Suche bleiben soll.

    Danke

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,411

    Re: wert bleibt dauerhaft in Zelle wenn Bedienung erfüllt

    Thanks for the quick reply. Is it possible for a VBA beginner to implement this? The goal is to have this function on 52 worksheets (one for each calendar week) and responds to 5 - 6 columns on each sheet in which the "x" permanently after the search has been completed. Thank you
    If you upload a sample file, someone will be able to write the VBA code for you. Please see the yellow banner at the top of the page. I cannot help at the moment as I am away from home and don't have my laptop with me.

    Wenn Sie eine Beispieldatei hochladen, kann jemand den VBA-Code für Sie schreiben. Bitte beachten Sie das gelbe Banner oben auf der Seite. Ich kann im Moment nicht helfen, da ich nicht zu Hause bin und meinen Laptop nicht dabei habe.

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: wert bleibt dauerhaft in Zelle wenn Bedienung erfüllt

    Ein Anfänger könnte eine VBA-Funktion verwenden, aber um sie zu schreiben, wäre es am besten, eine Excel-Tabelle mit einem Beispiel dafür anzuhängen, was Sie erreichen möchten. Anschließend können Sie diese Tabelle verwenden, indem Sie den Anweisungen folgen.
    Never use Merged Cells in Excel

  6. #6
    Registered User
    Join Date
    11-04-2024
    Location
    Kassel, Deutschland
    MS-Off Ver
    2013
    Posts
    5

    Re: wert bleibt dauerhaft in Zelle wenn Bedienung erf?llt

    Oh perfekt danke.

    Werde später die Datei hochladen da ich ebenfalls gerade nicht an dem PC bin.

    Danke

  7. #7
    Registered User
    Join Date
    11-04-2024
    Location
    Kassel, Deutschland
    MS-Off Ver
    2013
    Posts
    5

    Re: wert bleibt dauerhaft in Zelle wenn Bedienung erf?llt

    Ich habe in der ersten Nachricht in diesen Thread eine Beispieldatei eingefügt.
    Vielleicht kann mir ja jemand helfen.
    Danke

  8. #8
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,338

    Re: wert bleibt dauerhaft in Zelle wenn Bedienung erf?llt

    Vielleicht etwas wie im Beispiel.
    Attached Files Attached Files
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  9. #9
    Registered User
    Join Date
    11-04-2024
    Location
    Kassel, Deutschland
    MS-Off Ver
    2013
    Posts
    5

    Re: wert bleibt dauerhaft in Zelle wenn Bedienung erf?llt

    Perfekt, ja so klappt das echt gut.

    Danke für die Hilfe

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,856

    Re: wert bleibt dauerhaft in Zelle wenn Bedienung erfüllt

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Wenn Formel mit mehreren Aspekten
    By papacaos in forum Non English Excel
    Replies: 2
    Last Post: 05-21-2022, 08:49 AM
  2. Wenn Formel mit mehreren Aspekten
    By papacaos in forum Excel General
    Replies: 0
    Last Post: 05-20-2022, 05:16 AM
  3. Replies: 10
    Last Post: 04-20-2020, 04:33 PM
  4. [SOLVED] combining WENN function 3 times
    By slobr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2020, 10:37 AM
  5. Wenn Zelle Spalte hat Inhalt bitte nimm die nächste Spalte
    By Apholis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-08-2016, 04:45 AM
  6. Wenn Zelle Spalte hat Inhalt bitte nimm die nächste Spalte
    By Apholis in forum Non English Excel
    Replies: 1
    Last Post: 09-08-2016, 04:32 AM
  7. Excel wenn and funkction
    By excelok123 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-22-2015, 06:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1