Hi All
I have an Access db.
I want to export data from a particular field in a table to excel. For example:
I want to place field 4, from record 10, into Cell A1.
What code do I need for this?
I was thinking something along the lines of:
Dim oApp As Object
Set oApp = CreateObject("Excel.Application"
oApp.Documents.Open (D:\MySpreedsheet)
App.Visible = True
DoCmd.GoToRecord acDataTable, "MyTable", acGoTo, 10
Copy Field 10 and Paste to Excel "A1" ???????????????
Any suggestions?
S.
I have an Access db.
I want to export data from a particular field in a table to excel. For example:
I want to place field 4, from record 10, into Cell A1.
What code do I need for this?
I was thinking something along the lines of:
Dim oApp As Object
Set oApp = CreateObject("Excel.Application"
oApp.Documents.Open (D:\MySpreedsheet)
App.Visible = True
DoCmd.GoToRecord acDataTable, "MyTable", acGoTo, 10
Copy Field 10 and Paste to Excel "A1" ???????????????
Any suggestions?
S.