+ Reply to Thread
Results 1 to 8 of 8

excel 2010 - Update recors in another sheet

  1. #1
    Registered User
    Join Date
    07-30-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    excel 2010 - Update recors in another sheet

    Hi there.
    I'm new here, so thank you for accepting me.
    I hava a workbook with 2 sheets. The 1st sheet "Local Process" gets data from a data base in access. The 2nd sheet "Global Process" is the global list of all the proccess ordered.
    So, when access send new data, the sheet 1 is fielded with that data, no mather what the number of the local process. What i need is when i have this new data, the sheet 2 is updated.
    I give a example (i'll try )
    Sheet 1
    Local Process Name Address Phone Local
    1/CTT/2015 Alice USA 1234 A
    3/CTT/2015 John USA 3214 A
    9/CTT/2015 Tom USA 4567 B

    Sheet 2
    Out Number Global Process Name Address Phone Local
    (Manualy insert) 1/CTT/2015 Alice USA 1234 A
    1/CTT/2015 John USA 3214 A
    2/CTT/2015 Tom USA 4567 B

    Because the 2nd sheet, the Global number is based in the "Local". If the "Local" is the same in the next row, the "Global number" is gonna be the same.
    I have a formula in the "Global number" to do this. And i have also a hidden column called "SubDivision" between column B and C, to set the same "Local".

    My problem:
    When sheet 1 gets new data, this new data is gonna update sheet 1 (if i have 3 records, start in the record n.º 4) and then update sheet 2, to continue the Global Process number (If have 3 records, star in the 4º)

    Is there a way to automatize this?

    Thank you and sorry for my bad english.

    Regards,
    B.
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: excel 2010 - Update recors in another sheet

    Hi Burita,

    Welcome to the Forum!

    I put this event code in your Local sheet:Burita.xlsm

    Please Login or Register  to view this content.
    Last edited by xladept; 08-01-2015 at 07:32 PM.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    07-30-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    Re: excel 2010 - Update recors in another sheet

    Hi xladept.
    Thank you, that hellp me a lot.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: excel 2010 - Update recors in another sheet

    You're welcome and thanks for the rep!

  5. #5
    Registered User
    Join Date
    07-30-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    Re: excel 2010 - Update recors in another sheet

    Hi xladept,
    can i ask one more thing?
    If i want to add more collumns to pass from sheet1 to sheet2, what parameters in the code i should change? For example, for more 5 collumns, from "F" to "J"?

    Regards,
    Burita

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: excel 2010 - Update recors in another sheet

    See the red

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-30-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    Re: excel 2010 - Update recors in another sheet

    Once again, thanks a lot.

    Best regards,
    Burita

  8. #8
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: excel 2010 - Update recors in another sheet

    You're welcome!

+ 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. Update link (Update values) on a protected sheet excel 2010
    By sonu1975 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2014, 09:49 AM
  2. Excel 2010, Access 2010, SQL Insert and Update Statments and NULL value in Field
    By jmmach72 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2013, 02:35 PM
  3. Changing code name of excel 2010 sheet using word 2010 vba
    By samkumar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2013, 08:59 AM
  4. Excel Macro (excel for mac 2010) - update multiple excel books on criteria
    By genichigo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2012, 07:23 AM
  5. Excel 2010 slow update of worksheet
    By maverick1714 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-27-2012, 09:52 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