Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Hi,
I have the following code which does what i need , except it returns the values to the debug window. Sub Table_properties() Dim cat As New ADOX.Catalog Dim tbl As ADOX.Table Dim clm As ADOX.Column cat.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\database.mdb" For Each tbl In cat.Tables Debug.Print "Table: " & " " & tbl.Name, tbl.Type For Each clm In tbl.Columns Debug.Print clm.Name, clm.Type, clm.DefinedSize Next Next tbl End Sub If i had a recordset I could use : While not myRS.EOF i = i + 1 ws.[a1].cells(i) = MyRS ... MyRS.movenext Wend I need to return this data somehow into excel, Does anyone have any ideas please ? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
returning offset row from excel table | Excel Discussion (Misc queries) | |||
Open an Access table in Excel | Excel Discussion (Misc queries) | |||
How to retrieve the value within the table from Access into Excel? | Excel Discussion (Misc queries) | |||
Excel Pivot Table with Access | Excel Discussion (Misc queries) | |||
How can I access/display File -> properties in a cell | Excel Discussion (Misc queries) |