Solved

Access 2007 and Excel 2007

Posted on 2014-10-19
3
279 Views
Last Modified: 2014-10-20
My OS is win 7 prof 64 bit and I have a Table in Access 2007, which I want to export the data structure including the field properties to Excel 2007.  is this possible, if Yes, how is it done.  Thank u
0
Comment
Question by:jegajothy
3 Comments
 
LVL 15

Accepted Solution

by:
Haris Djulic earned 350 total points
ID: 40391127
Hello,

you can use the Database Documenter under Database tools and then after you click on it it will offer you option to select object which you want to document and after that you click ok it will provide you with details on the object (table) and then you can do usual options (print, save, email) and as you requested export of that report to excel..
Capture1.PNG
0
 
LVL 84

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 150 total points
ID: 40391811
You can also loop through the Fields collection, and then further through the Properties and Attributes of each Field. Something like this:

Dim dbs As DAO.Database
Dim tdf As DAO.TableDef
Dim fld As DAO.Field
Dim prp As DAO.Property

Set dbs = Currentdb
Set tdf = dbs.TableDefs("YourTAble")

For each fld in tdf.Fields
  '/ export to Excel here
  For each prp in fld.Properties
    '/ export Properties to Excel here
  Next prp
Next fld

For the "export" methods. you could use automation, or you could just dump everything to tables in your Access database, then use TransferSpreadsheet to move that over to a new Excel workbook.
0
 

Author Closing Comment

by:jegajothy
ID: 40391906
Well answered with the correct response, thank u.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question