+ Reply to Thread
Results 1 to 6 of 6

Take over tekst Yes or No

  1. #1
    Registered User
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    16

    Take over tekst Yes or No

    I have a workbook where I have to fill in three cells in each sheet.
    The yellow cells are the input fields.
    I start in sheet 35944
    If I go to the next sheet (38745) I want to have the choice, Fill in Text Yes or No, if text from the 3 cells in sheet 35944 must be filled in 38745 and so on for the next sheets.
    If i make the choice Yes, the same text has to be fill in.
    If i make the choice No, nothing has to be done.
    The layout names are yet to be appointed numbers.

    Thanks Jos
    Attached Files Attached Files

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Take over tekst Yes or No

    That would need the use of a worksheet event. Means VBA.
    Would that be a problem for you?
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    Registered User
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Take over tekst Yes or No

    Hi, Tsjallie.
    Thanks, but that is no problem.

  4. #4
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Take over tekst Yes or No

    Ok, try this.
    Uses the worksheet_activate and worksheet_deactivate events of each sheet.
    Asking YesNo and copying happens in a sub.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Take over tekst Yes or No

    Thanks, this will work for me.

  6. #6
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Take over tekst Yes or No

    Good to here that.
    One tip yet:
    this message box popping up each time will soon get pretty annoying.
    May be a good thing to test if the text in the actived sheet is already the same as in the source sheet before popping up the messagebox.

+ 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. Matrix Tekst
    By DriesB in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-03-2014, 11:48 AM
  2. Change tekst and save it with userform
    By vds in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2010, 06:29 AM
  3. Load tekst with combobox
    By vds in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-06-2010, 06:57 AM
  4. [SOLVED] Tekst in een tekstfile wijzigen met VBA Excel
    By pieros in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2005, 04:58 AM
  5. import tekst >65536 rows
    By Reniek in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-22-2005, 06:06 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