+ Reply to Thread
Results 1 to 4 of 4

Run Macro Automatically from entering data into cell

  1. #1
    Forum Contributor
    Join Date
    10-28-2009
    Location
    Portland, Maine
    MS-Off Ver
    Excel 2003
    Posts
    102

    Run Macro Automatically from entering data into cell

    - When I add data to cell B1 I want a macro to run (below).

    - B1 is a drop-down list. When the data is deleted the macro shouldn't run

    - When the data is selected or reselect from the drop-down it should run

    Please Login or Register  to view this content.
    Any help is much appreciated!
    Thanks!
    Last edited by yunesm; 04-08-2010 at 02:33 PM.

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: Run Macro Automatically from entering data into cell

    The worksheet change event fires after a change but you will need to inspect Target to determine whether you need to run your routine


    click on the * Add Reputation if this was useful or entertaining.

  3. #3
    Forum Contributor
    Join Date
    10-28-2009
    Location
    Portland, Maine
    MS-Off Ver
    Excel 2003
    Posts
    102

    Re: Run Macro Automatically from entering data into cell

    This seems to be working for me but now I'm realizing In need to deselect my autofilter if I delete.

    Please Login or Register  to view this content.
    I'm going to try to add this in once the data in cell B1. I've tried a couple of things with no luck. Again any thoughts would be appreciated.

    Please Login or Register  to view this content.

    Thanks!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Run Macro Automatically from entering data into cell

    Maybe just turn it off:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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