+ Reply to Thread
Results 1 to 5 of 5

How to run macro when value of cell is entered

  1. #1
    Registered User
    Join Date
    12-21-2005
    Posts
    12

    How to run macro when value of cell is entered

    It's a simple question...

    I have a macro that requires a information from the user to be activated.

    He would fill the cell and when he hits enter the macro starts running.

    Tks in advance...

  2. #2
    Registered User
    Join Date
    06-12-2008
    Location
    Newbury
    MS-Off Ver
    Office 365 ProPlus
    Posts
    92
    Use the worksheet change event.

    Kind of like this:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-28-2008
    Posts
    36
    Please Login or Register  to view this content.
    This would be an easy way to do that. You could also adjust the <, >, or = in the first line of the code so that it would run only if those conditions are met. This will rum if the value isnt zero.

  4. #4
    Registered User
    Join Date
    12-21-2005
    Posts
    12
    Clergh, will this macro activate the called macro whenever a user enters a value in the determined cell?

  5. #5
    Registered User
    Join Date
    06-12-2008
    Location
    Newbury
    MS-Off Ver
    Office 365 ProPlus
    Posts
    92
    Yes whenever a value is entered into the cell it will run the macro, unless the value entered is a zero length string.

+ 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