+ Reply to Thread
Results 1 to 3 of 3

data model in excel

  1. #1
    Registered User
    Join Date
    02-02-2011
    Location
    pune
    MS-Off Ver
    Excel 2003
    Posts
    2

    data model in excel

    Hi, I need help in excel vba macro.

    I am creating excel based tool for data modelling. which will connect to database e.g oracle, sql server and then fetch the table information.

    e.g table name- emp then its all column . till this I have achieved it. now m getting all tables with its column name , primary key...

    Now my question is with the help of above data I want to preint table in excel and want to show relationship between them PK FK by drawing a line between them.

    e.g
    EMPLOYEE DEPT
    eno (pk) dno (pk)
    ename eno (fk)
    eaddrs dname

    now it should show in well tabular form in excel and should draw line between employee.eno to departnment.eno.

    can we do it with help of macro.

    regards,
    Suhas
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,323

    Re: data model in excel

    I'm not sure that I can help with your specific problem, but the code below will draw a line and an elbow connector between two cells. I'm not sure how to calculate the end position for the elbow connector.

    So, what you would need to do is locate the start and end cells and determine the start and end of your arrows.

    Please Login or Register  to view this content.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    02-02-2011
    Location
    pune
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Re: data model in excel

    Thank You This will be helpfull for me... need to check..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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