+ Reply to Thread
Results 1 to 14 of 14

automatic update of data in other spreadsheet

  1. #1
    Registered User
    Join Date
    04-24-2009
    Location
    delhi,india
    MS-Off Ver
    Excel 2003
    Posts
    37

    automatic update of data in other spreadsheet

    plz help me out

    i want to automatically update data from one spreadsheet to ther one
    i am novice to vb programming


    here are two file plzzz help me out --sheet 1--sheet(data of sheet one to be copied into)
    and is there any way that the data copied also gets saved the in that spreadsheet as next time data in sheet 1 is updated!!


    thnxx
    Attached Files Attached Files
    Last edited by anuj_sethi1043; 04-26-2009 at 01:30 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: automatic update of data in other spreadsheet

    LOL...you posted two empty workbooks. That's pretty funny...

    Ok, instead of dumbing it down, post up an ACTUAL workbook or two showing us examples of what you have in mind.

    In the meantime, if you're talking about just simple cross-referencing...in 2.xls put this formula in Sheet1 cell A1:

    =[1.xls]Sheet1!A1

    Then copy that cell down and over as much as you want. This sheet will now show whatever is on sheet1 of 1.xls.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-24-2009
    Location
    delhi,india
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: automatic update of data in other spreadsheet

    hey here r the sheets
    I want to copy orde taken column(d) to get automatically
    copied to another workbook … so that history of orders can
    be maintained and is that posible to save the copied data to
    get saved after few columns when I add new data in this sheet


    thnxx
    Attached Files Attached Files

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: automatic update of data in other spreadsheet

    So, you want to press a button or something and all the data in column D goes over to the "copied data.xls" spreadsheet into the next empty column, starting at D? And then the date is inserted in row 2?

  5. #5
    Registered User
    Join Date
    04-24-2009
    Location
    delhi,india
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: automatic update of data in other spreadsheet

    yes if that is possible it would be gr88

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: automatic update of data in other spreadsheet

    The main sheet has a button, just click on it to run the ARCHIVE DATA macro.

    The macro will check to see if "Copied Data.xls" is open or not, it will open it if necessary. It will then paste the data into that sheet in the next open column and insert a date at the top of the column.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-24-2009
    Location
    delhi,india
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: automatic update of data in other spreadsheet

    thnx man it really hlpd me if i wanna change few things and add few things i will pm u
    thnkuuuuuuuuu very very much to help me out
    man
    u r d best
    thnxx again

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: automatic update of data in other spreadsheet

    If that takes care of your need, be sure to EDIT your original post (Go Advanced) and mark the PREFIX box [SOLVED]

  9. #9
    Registered User
    Join Date
    04-24-2009
    Location
    delhi,india
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: automatic update of data in other spreadsheet

    hey man there are three files

    like u did in first file nirulas one a button to copy data

    can u place two buttons on file

    and i want the d row to be copied to next file copied one after leaving 2 columns
    ex d copied to other file in (column 6 ,nxt time to get pasted in column 9)

    in nirulas file only at end the row 138 cells (b,c,d,e,f,G,h) to be copied on click of a button to another file called fill rate with date on top

    plzzz help me out its urgent!
    thnxx
    anujj
    Attached Files Attached Files
    Last edited by anuj_sethi1043; 04-26-2009 at 01:28 AM.

  10. #10
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: automatic update of data in other spreadsheet

    Quote Originally Posted by anuj_sethi1043 View Post
    can u place two buttons on file
    Yes, but you don't indicate what this second button does...

    and i want the D row to be copied to next file copied one after leaving 2 columns
    ex D copied to other file in (column 6 ,nxt time to get pasted in column 9)
    On the COPIED DATA.XLS sheet, change the formula in B12 to this to get that behavior:
    =MATCH(LOOKUP(9.99999999999999E+307,2:2),2:2,0)+3

    in nirulas file only at end the row 138 cells (b,c,d,e,f,G,h) to be copied on click of a button to another file called fill rate with date on top
    Ok, here's the macro:
    Please Login or Register  to view this content.
    Add that to your sheet and add a Forms Button to attach it to.
    Last edited by JBeaucaire; 04-27-2009 at 12:30 AM. Reason: Corrected macro to use correct source sheet, Corrected B12 formula

  11. #11
    Registered User
    Join Date
    04-24-2009
    Location
    delhi,india
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: automatic update of data in other spreadsheet

    thnx a lot man
    u saved me
    thnx again

  12. #12
    Forum Contributor
    Join Date
    10-22-2012
    Location
    hyd
    MS-Off Ver
    2010
    Posts
    159

    Re: automatic update of data in other spreadsheet

    file opening is necessary?
    Without opening file can i transfer data to that "copied data" workbook

    please help me....

  13. #13
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: automatic update of data in other spreadsheet

    punna111,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  14. #14
    Forum Contributor
    Join Date
    10-22-2012
    Location
    hyd
    MS-Off Ver
    2010
    Posts
    159

    Re: automatic update of data in other spreadsheet

    I am so sorry for inter-fearing in another member thread.

    actually i didn't read forum rules.

    prb

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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