+ Reply to Thread
Results 1 to 8 of 8

Updating cell

  1. #1
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Updating cell

    Hi,
    I have a macro which imports new data from an outside program and pastes into a dummy worksheet which works great to update new information as it deletes duplicates etc., however i need it to update the required data based on the data entered into column 6 as a reference, Is this possible as I cant get my head around it?
    Thanks
    Johnny

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Updating cell

    Hi, Johnny,

    should be possible but I think you would need to pass more information or the code to have a look at.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Re: Updating cell

    Quote Originally Posted by HaHoBe View Post
    Hi, Johnny,

    should be possible but I think you would need to pass more information or the code to have a look at.

    Ciao,
    Holger
    I have attached a copy of the code I'm currently using below, however I need it to update column J providing the data matches data in column M, I have also attached a copy of the file.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Updating cell

    Hi, Johnny,

    I copied the code over into your workbook and started the macro - you would need to explain what data from which sheet is to be inserted into sheet Dummy as for me the copied macro was inserted (Iīm certain thatīs not the case when you run this macro).

    Ciao,
    Holger

  5. #5
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Re: Updating cell

    Holger,
    Sorry I was unclear about this, The data is copied from an external source, I have attached another workbook with 2 worksheets, 1 with original data and the other with modified data for your reference, If you just use the macro named "Update" you will see what it does. Hopefullt its a bit clearer now.
    Thanks
    Johnny
    Attached Files Attached Files

  6. #6
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Updating cell

    Hi, Johnny,

    I understood the first update to sheet X47 but I canīt get a grip on how X08 should be updated as none of the parts that I may copy into sheet Dummy doesnīt match with what is required for X08 (I donīt get the information for column I as that isnīt included).

    Maybe you can give me an update on this.

    Ciao,
    Holger

  7. #7
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Re: Updating cell

    Sorry should have been clearer its only really the sheet X08 that I need to update so dont worry about the part of the macro which updates x08.

  8. #8
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Updating cell

    Hi, Johnny,

    maybe like this:
    Please Login or Register  to view this content.
    Ciao,
    Holger

+ 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] Testing colour of cell and result cell not updating automatically
    By BishBosh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-11-2013, 08:55 AM
  2. [SOLVED] Editing cell value in txtbox + updating that cell value in database..going MAD!!
    By MB_vba in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-17-2013, 10:29 PM
  3. Help with automatic chart updating/auto updating today function
    By Tux2424 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-26-2012, 04:45 PM
  4. macros for watching a cell and updating other cell
    By aravindkb7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2010, 02:54 PM
  5. Restricting cell entry in a Shared Workbook when a user updating a cell
    By Starbucks Junkie in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-02-2009, 09:22 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