+ Reply to Thread
Results 1 to 2 of 2

Finding source of linkied Database??

  1. #1
    Registered User
    Join Date
    06-03-2006
    Posts
    14

    Finding source of linkied Database??

    I am trying to improve some spreadsheets that were designed by a former coworker. He uses Excel to link in information from a database and then minipulates it through several worksheets to get a report in Excel.

    I would rather avoid Excel alltogether and just have a Access report do the job. However the source Database is very large and has many different tables and queries that have similar or repetitive column names. Therefore when I am in excel and I view the database wizard it will only show me the column name and not the table/query it is linked to.

    Any advice?

  2. #2
    Miguel Zapico
    Guest

    RE: Finding source of linkied Database??

    You can try this from the visual basic editor (Alt+F11). Open the inmediate
    window (Ctrl+G) and type:
    ?activesheet.querytables(1).commandtext
    It will show the SQL from the query in the current worksheet, and it should
    include the original tables.

    Hope this helps,
    Miguel.

    "mattylance" wrote:

    >
    > I am trying to improve some spreadsheets that were designed by a former
    > coworker. He uses Excel to link in information from a database and
    > then minipulates it through several worksheets to get a report in
    > Excel.
    >
    > I would rather avoid Excel alltogether and just have a Access report do
    > the job. However the source Database is very large and has many
    > different tables and queries that have similar or repetitive column
    > names. Therefore when I am in excel and I view the database wizard it
    > will only show me the column name and not the table/query it is linked
    > to.
    >
    > Any advice?
    >
    >
    > --
    > mattylance
    > ------------------------------------------------------------------------
    > mattylance's Profile: http://www.excelforum.com/member.php...o&userid=35070
    > View this thread: http://www.excelforum.com/showthread...hreadid=555369
    >
    >


+ 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