G
Guest
Hello,
How can I bring in the Field Names or Column Titles into
Excel when using the OpenRecordSet method to import a
table from Access to Excel? Currently it only brings in
the records.
Current Code:
Set dba = OpenDatabase("C:\file.mdb", False,
False, ";pwd=password")
Set rst = dba.OpenRecordset("Table", dbOpenDynaset,
dbReadOnly)
How can I bring in the Field Names or Column Titles into
Excel when using the OpenRecordSet method to import a
table from Access to Excel? Currently it only brings in
the records.
Current Code:
Set dba = OpenDatabase("C:\file.mdb", False,
False, ";pwd=password")
Set rst = dba.OpenRecordset("Table", dbOpenDynaset,
dbReadOnly)