+ Reply to Thread
Results 1 to 2 of 2

Run a macro based on changing Cell Value

  1. #1
    Registered User
    Join Date
    07-16-2008
    Location
    TO
    Posts
    18

    Run a macro based on changing Cell Value

    Hi,
    I have a formula where when I type a certain value in a cell (A1), another cell changes (A2). I then have a macro that reads the value in A2 and searches the database for a match of that cell and generates the appropriate image. The problem is that each time I do this, after typing a value into A1, I have to manually click the "Generate Drawing" button that I've made.

    I'd like to figure out a way for excel to automatically run the macro as soon as I've entered my value into A1 instead of having to click "Generate Drawing" each time. If somebody could help me with this problem it would be greatly appreciated.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Paste the following into the VBA tab for the appropriate sheet.

    Please Login or Register  to view this content.
    Martin

+ 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