+ Reply to Thread
Results 1 to 6 of 6

automating macro when cell value changes

  1. #1
    Registered User
    Join Date
    05-13-2015
    Location
    USA
    MS-Off Ver
    13
    Posts
    16

    Question automating macro when cell value changes

    If anyone can help with this, I would buy lunch. I know only very elementary excel. I have been trying to learn macros, but have yet to be successful with it. In column A, I will be entering different data in each row. I would like to run a macro that once the value of a:a changes then it would cause another macro to run. The other macro I want to look to see if there are any duplicates in a:a. If there is a duplicate it will copy columns c-g from the original row and paste it in the row where the duplicate appears.

    Is this possible? Or do I need to go back to pen and paper days?

    Thank you,

    help me.xlsx
    Last edited by hiswillbedun; 05-14-2015 at 02:29 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671

    Re: Help!! macro dummy

    I can take a look at this, but you're going to want to change your thread title. Thread titles should not contain words like "help" or exclamation marks and should contain key words which will be helpful for searching, like "Performing 2-dimensional lookup on weekday and month." To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you
    Last edited by k64; 05-14-2015 at 02:50 PM.
    1. Include a sample workbook with an example of the result you want
    2. Use [CODE] and [FORMULA] wrappers for your VBA code or excel formulas
    3. If your question has been answered, mark the thread as SOLVED and click on the "Add Rep" star to thank whoever helped you.

  3. #3
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671

    Re: Help!! macro dummy

    I have a macro that does what you asked. If you change the thread title and reply, I'll post it.

    K64

  4. #4
    Registered User
    Join Date
    05-13-2015
    Location
    USA
    MS-Off Ver
    13
    Posts
    16

    automating macro when cell value changes

    Thank you k64. I really appreciate it. I have changed title.
    Last edited by hiswillbedun; 05-14-2015 at 02:34 PM.

  5. #5
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671

    Re: automating macro when cell value changes

    You're welcome hiswillbedun,
    Try putting this code in the worksheet module. (Go to the Visual Basic editor and double click on the sheet in the sidebar.)
    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671

    Re: automating macro when cell value changes

    Hello hiswillbedun,

    I realized this morning that the code I gave you was a bit sloppy. It will also activate if someone changes a cell in column AA-AZ. Here is modified code:
    Please Login or Register  to view this content.

+ 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. excel dummy
    By akwoo in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-10-2013, 10:34 AM
  2. Excel Dummy Here
    By Innova in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 03-15-2013, 01:09 AM
  3. Dummy data
    By corinereyes in forum Excel General
    Replies: 2
    Last Post: 02-06-2008, 10:25 AM
  4. Excel Dummy - Please Help!
    By Ed in forum Excel General
    Replies: 9
    Last Post: 11-13-2005, 04:10 PM
  5. [SOLVED] Question for dummy
    By Yuri Weinstein \(HotMail\) in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-17-2005, 12:05 AM

Tags for this Thread

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