+ Reply to Thread
Results 1 to 9 of 9

Worksheet Change event and data tables

  1. #1
    Registered User
    Join Date
    09-29-2014
    Location
    USA
    MS-Off Ver
    2007
    Posts
    5

    Worksheet Change event and data tables

    Hi,

    I have a worksheet change event macro that is working fine so far. Here is what I am trying to achieve. I have created a sensitivity table with the column input the same cell that is the trigger for my worksheet change event. I was hoping that the data table would work and invoke the worksheet change event each time and give me the right answer but it didnt. Can someone help ?

    Thanks

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: Worksheet Change event and data tables

    The data table won't actually enter each value into the input cell and trigger the Change event if that's what you mean.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Worksheet Change event and data tables

    Does this give you any ideas?

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-29-2014
    Location
    USA
    MS-Off Ver
    2007
    Posts
    5

    Re: Worksheet Change event and data tables

    That is what I was trying.

  5. #5
    Registered User
    Join Date
    09-29-2014
    Location
    USA
    MS-Off Ver
    2007
    Posts
    5

    Re: Worksheet Change event and data tables

    I am not sure John if I follow your code. I am new to this change event macro so you might want to explain it. Thanks

  6. #6
    Registered User
    Join Date
    09-29-2014
    Location
    USA
    MS-Off Ver
    2007
    Posts
    5

    Re: Worksheet Change event and data tables

    What will Sheets("Sensitivity Table").Cells(Target.Row, Target.Column) = Target.Value do?

    Quote Originally Posted by JOHN H. DAVIS View Post
    Does this give you any ideas?

    Please Login or Register  to view this content.

  7. #7
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Worksheet Change event and data tables

    It is meant as a sample. If you place the code in the Change Event of the sheet you are working on then change the value in A1 it will automatically updata (or mirror) in a Sheet named "Sensitivity Table" cell A1? Not sure if that's what you are after or not, but I hope it helps.

  8. #8
    Registered User
    Join Date
    09-29-2014
    Location
    USA
    MS-Off Ver
    2007
    Posts
    5

    Re: Worksheet Change event and data tables

    I dont think that is what I am looking for. I simply have an input cell which is the trigger for my change event as well as the column input for my data table. I want the data table to work such that each value of my data table becomes the input, and triggers the change event.



    Quote Originally Posted by JOHN H. DAVIS View Post
    It is meant as a sample. If you place the code in the Change Event of the sheet you are working on then change the value in A1 it will automatically updata (or mirror) in a Sheet named "Sensitivity Table" cell A1? Not sure if that's what you are after or not, but I hope it helps.

  9. #9
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Worksheet Change event and data tables

    Can you provide us with a Sample with some dummy data?

+ 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. [SOLVED] Worksheet change event with data validation
    By Dacodac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-08-2013, 05:36 AM
  2. Worksheet change event for range of cells and data validation
    By santosh123 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-08-2012, 07:38 AM
  3. [SOLVED] Worksheet change event for data validation??
    By Meltad in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-01-2006, 11:00 AM
  4. [SOLVED] Worksheet Change event code moved to Worksheet Calculate event... and it's not working
    By KimberlyC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-23-2005, 06:05 PM
  5. [SOLVED] Data Validation Listbox and the Worksheet Change Event
    By RASENT in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-17-2005, 05:05 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