Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mattylance
 
Posts: n/a
Default 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?


--
mattylance
------------------------------------------------------------------------
mattylance's Profile: http://www.excelforum.com/member.php...o&userid=35070
View this thread: http://www.excelforum.com/showthread...hreadid=555369

  #2   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database functions should use criteria in formula, as 1-2-3 does 123user Excel Worksheet Functions 8 September 29th 05 08:57 PM
Links to External Database Rubble Excel Discussion (Misc queries) 0 July 20th 05 10:44 PM
Data Source Name Not Found Justin Tyme Excel Worksheet Functions 0 June 16th 05 11:45 PM
Reference multiple cells in if statement PAR Excel Worksheet Functions 1 June 10th 05 06:28 AM
Updating master workbook from source that may/may not exist [email protected] Excel Worksheet Functions 20 April 7th 05 03:37 PM


All times are GMT +1. The time now is 08:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"