Solved

Access 2007 and Excel 2007

Posted on 2014-10-19
3
266 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
Comment Utility
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
Comment Utility
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
Comment Utility
Well answered with the correct response, thank u.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
Outlook Free & Paid Tools
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now