Consulting

Results 1 to 9 of 9

Thread: Linking Sheets

  1. #1
    Banned VBAX Regular
    Joined
    Aug 2011
    Posts
    23
    Location

    Smile Linking Sheets

    Hi,

    I am working to link data between two excel work books, say BookM.xls, BookC1.csv, BookC2.csv, BookC3.csv

    If any cell value of
    Column A, C, E of BookC1.csv,
    Column A, C, E of BookC2.csv,
    Column A, C, E of BookC3.csv
    is changed or added,

    then

    (1) On clicking "refresh" button of BookM, all csv files are imported and "stacked" into Column A, C, E of sheet2 of BookM in the stack order of BookC1.csv, BookC2.csv, BookC3.csv

    (2) Sheet1 of BookM has primary key in Column A and foreign key in Sheet2 of BookM.

    So, Sheet1 should use Primary key to update values in Column C and E using foreign key present in Sheet2 of Book M and using values present in Col C and E of Sheet 2.

    Excel version: 2003 max
    Macro preferred: No
    VBA Preferred: Yes

  2. #2
    Banned VBAX Regular
    Joined
    Aug 2011
    Posts
    23
    Location

    Arrow

    Looking for

  3. #3
    VBAX Regular Chabu's Avatar
    Joined
    Dec 2010
    Location
    Brussels
    Posts
    85
    Location
    It is unclear what you have now and what you want.
    Please provide an example of the existing situation and an explanation on what you want to achieve.

  4. #4
    Banned VBAX Regular
    Joined
    Aug 2011
    Posts
    23
    Location
    Please refer this sheet for more details.

  5. #5
    VBAX Expert CatDaddy's Avatar
    Joined
    Jun 2011
    Posts
    581
    Location
    are you joking?
    ...
    ------------------------------------------------
    Happy Coding my friends

  6. #6
    Banned VBAX Regular
    Joined
    Aug 2011
    Posts
    23
    Location
    How can I import multiple CSV sheets into one Excel Sheet? I can do so by defining rows which I will reserve for each CSV file. Then I will delete empty rows between these CSV files (if any exists).

    I will also ensure that while importing csv files, each row will contain CSV file name at end of row. So, lets wait for VBA to do this.

  7. #7
    Banned VBAX Regular
    Joined
    Aug 2011
    Posts
    23
    Location
    Quote Originally Posted by CatDaddy
    are you joking?
    ...

    This discussion is 100% different from another.

  8. #8
    VBAX Expert CatDaddy's Avatar
    Joined
    Jun 2011
    Posts
    581
    Location
    not really...and i wish you wouldnt put links to your question in everyone else's threads too...
    ------------------------------------------------
    Happy Coding my friends

  9. #9
    Banned VBAX Regular
    Joined
    Aug 2011
    Posts
    23
    Location
    Quote Originally Posted by CatDaddy
    not really...and i wish you wouldnt put links to your question in everyone else's threads too...
    please ... I will agree with your point.

Posting Permissions

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