+ Reply to Thread
Results 1 to 7 of 7

Cell value change and another cell value will be changed too

  1. #1
    Forum Contributor
    Join Date
    11-17-2013
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    174

    Post Cell value change and another cell value will be changed too

    Hi Guys,

    How to create the code which if the cell value (B11) changed then the cell value on the B14, B15,.., will be changed too?
    Let's say the first change B11, then will be recorded to B14, and the second change B11, then will be recorded to B15, and so on.

    This is the code under UserForm (UF1)...this code is not mentioned how to change on the cell B14, B15,...and I use the spinbutton to change the value
    Please Login or Register  to view this content.
    Thanks in advance for any helps.

    Kind Regards,
    Iqbal
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cell value change and another cell value will be changed too

    Copy the below code and do right click on sheet tab and select view code and paste it.

    Close the VBA window (Alt+Q to close VBA window) and return to that sheet and check.

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    11-17-2013
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    174

    Re: Cell value change and another cell value will be changed too

    I have been tried your code, but unfortunately the column being updated after the userform is closed.
    That was not updated directly when the value have been changing.
    Thank you so much for the quick reply.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cell value change and another cell value will be changed too

    Change the Userform ShowModal property to False

  5. #5
    Forum Contributor
    Join Date
    11-17-2013
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    174

    Re: Cell value change and another cell value will be changed too

    Hi Guru,

    Work great..thanks a lot...you are the man.
    May i ask another question, if i hold the "SpinButton" for sometimes and the value have been changed starting from 0 to 5.
    What is the code to display only the last value changed(5) ? The value in between 1, 2, 3, and 4 will be not recorded, only the last number.
    And this value will be display on the cell B14,...and so on for another changed, only the last value will be displayed on the next cells (B15, B16,...)
    Again thank you so much for your helps.
    I will add reputation to you, Guru.

    Kind Regards,
    Iqbal

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cell value change and another cell value will be changed too

    Check the attached file for solution
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    11-17-2013
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    174

    Re: Cell value change and another cell value will be changed too

    Guru, Is it possible without clicking of commandbutton1 (Click to Update in Sheet), then the cell will be updated by itself?

+ 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. Change cell value when validation list is changed
    By Typicalalex1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2014, 01:40 PM
  2. [SOLVED] I Want the Timestamp Value Not to Change if the Name Cell Changed
    By bssol in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-07-2013, 04:48 AM
  3. Change cell value when sheet name changed
    By hesham63 in forum Excel General
    Replies: 3
    Last Post: 06-23-2010, 09:27 PM
  4. Cell value is changed, the cells change the color
    By lsuersoy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-06-2010, 07:17 AM
  5. [SOLVED] change date only if cell is changed
    By zbor in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2010, 09:16 AM

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