Consulting

Results 1 to 3 of 3

Thread: Sleeper: Transfering data value from 2 Wbook...

  1. #1

    Sleeper: Transfering data value from 2 Wbook...

    I have 2 Wbook LISTA_2005 and LISTA_2004.
    Into all 2 Wbook are present many sheets named with the alphabetical
    letter A, B, C.... ecc.

    All sheets named A, B, C ... ecc, contain the first 2 line with header (range
    A to V).
    From the 3th line are presents many value from range A to V.

    I would want to transfer the data value from sheets letters from LISTA_2004 to every sheets letters into wbook LISTA_2005 in this mode:

    All line (from A3 to V.....) from the sheet named A into LISTA_2004 into
    LISTA_2005 into shest A, append source line if existis already other line into destination sheet
    All line (A3 to V.....) from the sheet named B into LISTA_2004 into
    LISTA_2005 into shest B, append source line if existis already other line into destination sheet
    ecc...
    Sal
    1 help 1 pizza
    2 help 1 pizza 1 caff?
    3 help 1 pizza 1 caff? 1 mozzarella
    ...
    Spaghetti, Lasagne and Tortellini for the "Lady" ;-)

  2. #2
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Hi Sal,
    I think I understand what your trying to do, create a new file for 2005 from the 2004 book.....tell me if I'm wrong. Also I don't understand what you mean by this....
    Quote Originally Posted by sal21
    append source line if existis already other line into destination sheet
    Just want to be sure I understand what your trying to do.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  3. #3
    Quote Originally Posted by lucas
    Hi Sal,
    I think I understand what your trying to do, create a new file for 2005 from the 2004 book.....tell me if I'm wrong. Also I don't understand what you mean by this....

    Just want to be sure I understand what your trying to do.
    Hi Lucas, tks for fast reply...

    Expalin(in similar english;-):

    Wbrkbook LISTA_2004 contain sheets named A, B, C, .... (source)
    Workbook LISTA_2005 contain sheets named A, B, C, .... (destination)

    All sheets into Workbook LISTA_2005 and Workbook LISTA_2004 contain a line with value (range A3:V...)

    Example for the sheet named A

    The sheet A into Workbook LISTA_2004 contain lines from A3:V100
    The sheet A into Workbook LISTA_2005 contain lines from A3:V200

    Add/apending the all lines (in this case 100 lines) from sheet A of Workbook LISTA_2004 into sheet A into Workbook LISTA_2005, after the first cell blank in column A (from the line 201).

    After this operation the sheet A of Workbook LISTA_2005 contain 300 lines...

    Make this for all shetts/letter
    Sal
    1 help 1 pizza
    2 help 1 pizza 1 caff?
    3 help 1 pizza 1 caff? 1 mozzarella
    ...
    Spaghetti, Lasagne and Tortellini for the "Lady" ;-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •