LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLamar
 
Posts: n/a
Default List external database Tables and Fields

I have done something similar but with fewer tables, so I hope this helps you
out
I use a line of code that copies the Field names to a worksheet in excel but
you have to connect to the database using a ADODB Connection. This is the
line of code I used. If you would like to see other parts of the code let me
know.

For Col = 0 To Recordset.Fields.Count - 1
Sheets("List").Range("A1").Offset(0, Col).Value =
Recordset.Fields(Col).Name
Next

"CLR" wrote:

Using XL97 and MSQuery to mine a database of about 1000 Tables and who knows
how many Fields. Does anybody know how to print or export a list of all the
Tables and their respective Fields? Any help would be much appreciated.

TIA
Vaya con Dios,
Chuck, CABGx3


 
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
add option in pivot tables to remove subtotals for fields epsoanalyst Excel Worksheet Functions 1 February 16th 06 09:26 PM
Help: pivot chart data in secured Access database wont show fields A C Charts and Charting in Excel 0 January 25th 06 01:28 AM
Not including blank fields in pivot tables Bhupinder Rayat Excel Worksheet Functions 1 August 23rd 05 02:58 PM
Pivot Tables - Variance and % Variance fields CraigS Excel Discussion (Misc queries) 5 January 6th 05 12:22 AM
Pivot Tables multiple data fields Excel GuRu Excel Worksheet Functions 2 December 16th 04 12:06 AM


All times are GMT +1. The time now is 02:50 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"