+ Reply to Thread
Results 1 to 4 of 4

How to use multiple instances of worksheet change routine

  1. #1
    Registered User
    Join Date
    12-12-2012
    Location
    USA
    MS-Off Ver
    Office365
    Posts
    32

    How to use multiple instances of worksheet change routine

    Dear friends,
    I am very new in VBA, please refer to attached 'test' worksheet where i tried to formulate the code but it doesn't allowing to run multiple 'worksheet change' routine for one worksheet.
    In the attached, there are data validation rules set in col A, B, and C that comes up with dropdown list. I want to delete B2 whenever I change A2. This works fine with the code I have (in the absence of second worksheet change routine). Now the problem is - I want to have value inputs from Col C in such a way that every time I select items from a dropdown it returns values in the same cell separated by comma. for e.g. if I select "aa" first then I select "bb" on the same cell it will appears as "aa, bb" (separated by comma) in the same cell. I have somehow formulated code for this event too (copied from blog). But this returns error. However, codes for both events work fine if ran at a time. i want to have both working for a worksheet. How would it be possible. Appreciate your expert advice.

    Regards,
    meprad
    Attached Files Attached Files

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: How to use multiple instances of worksheet change routine

    I think you require this:

    Please Login or Register  to view this content.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: How to use multiple instances of worksheet change routine

    Thank you for rep.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  4. #4
    Registered User
    Join Date
    12-12-2012
    Location
    USA
    MS-Off Ver
    Office365
    Posts
    32

    Re: How to use multiple instances of worksheet change routine

    Hi Izandol, thank you very much for your quick help. you nailed it down !! awesommmmee !! Thanks is just not enough for what you did .

+ 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. Need help to make a change in the function that removes multiple instances of a word.
    By rampulaparthi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2013, 10:09 AM
  2. [SOLVED] Complex VLOOKUP, multiple instances vertical, return subsequent instances horizontally
    By Miles_2804 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-12-2013, 11:54 AM
  3. Replies: 2
    Last Post: 03-20-2012, 09:25 AM
  4. Change the Formatting of All Instances of a word in a worksheet in Excel
    By jaikal24 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-08-2006, 09:20 AM
  5. [SOLVED] start up routine in worksheet
    By Colin Telfer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-28-2006, 12:55 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