Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Access 2007 and Excel 2007

Posted on 2014-10-19
3
Medium Priority
?
297 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 1400 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 85

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 600 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
Quickbooks hosting can do wonders to your enterprise but considering the points elaborated in the article which will help you to better analyze the outcomes. So scan your business, its needs and then move to the new world of limitless benefits.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

927 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