+ Reply to Thread
Results 1 to 5 of 5

VBA code to change linked cells value on index match

  1. #1
    Registered User
    Join Date
    10-25-2014
    Location
    Walsall, England
    MS-Off Ver
    2010
    Posts
    39

    VBA code to change linked cells value on index match

    Hi Guys

    I've been struggling for a couple of weeks to create something for my work and some of you already helped me at some extend. Because of that, on the last 3 days, I passed from "not knowing at all what VBA is" to "now I have a clue and understand", with the help of 17 hours a day watching tutorials. Attached is my project, nothing fancy but I wrote all the code (I had to start somewhere) but there is one thing I can't figure out. On the Sheet1, the search I make will display the row from sheets "list". that much I was able to do except one thing. when I add a quantity on O9, this will subtract K13 with that quantity, present a result on Q9 and update K13. what I need to complete this, is for the quantity on Sheet "list" to be updated as well. I know it must be very easy for you guys, but I'm 3 days old In VBA!!! I could really appreciate some help, as my brain is starting to hurt.


    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-11-2012
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    144

    Re: VBA code to change linked cells value on index match

    Hi Tony75,

    Check the attachment

    Copy of Corona Project.xlsm
    Ravikumar,

    * Please Add Reputation if solved.

  3. #3
    Registered User
    Join Date
    10-25-2014
    Location
    Walsall, England
    MS-Off Ver
    2010
    Posts
    39

    Re: VBA code to change linked cells value on index match

    Hi fshbet


    Unfortunately, it gives me the error "object variable or with block variable not set". Is it something you can fix?


    Cheers


    Tony

  4. #4
    Forum Contributor
    Join Date
    07-11-2012
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    144

    Re: VBA code to change linked cells value on index match

    Sorry Tony75,

    just change the code in Module1 to this

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-25-2014
    Location
    Walsall, England
    MS-Off Ver
    2010
    Posts
    39

    Re: VBA code to change linked cells value on index match

    Hi fshbet


    That worked marvellous you Sir, are a genius!


    Thank you so much for your help.

    Tony

+ 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. Replies: 0
    Last Post: 07-08-2014, 09:51 AM
  2. Replies: 5
    Last Post: 01-06-2012, 08:00 PM
  3. [SOLVED] Running code based on a change in a linked cell of a combo box
    By cdiaz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2011, 02:34 PM
  4. Being able to change the value in linked cells
    By rabright in forum Excel General
    Replies: 0
    Last Post: 12-09-2008, 07:11 AM
  5. Index Match function for multiple linked variables
    By Bob in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-22-2005, 09:00 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