B
Bob Barnes
"SteveT" was kind enough to give me code to transfer Access
Recordset data to Ranges in Excel. . .no problem.
It uses...(essentially)..
Set RS = CurrentDb.OpenRecordset(strSql, dbOpenSnapshot)
. . .
objXLSheet.Range(strCellRef).CopyFromRecordset RS
I have a label's caption which I Dim Y As a String.
Trying to use the "CopyFromRecordset" Excel method
doesn't work. I know very little Excel.
How would I get this "Y string" to. . .
objXLSheet.Range(BobName).....
TIA - Bob
Recordset data to Ranges in Excel. . .no problem.
It uses...(essentially)..
Set RS = CurrentDb.OpenRecordset(strSql, dbOpenSnapshot)
. . .
objXLSheet.Range(strCellRef).CopyFromRecordset RS
I have a label's caption which I Dim Y As a String.
Trying to use the "CopyFromRecordset" Excel method
doesn't work. I know very little Excel.
How would I get this "Y string" to. . .
objXLSheet.Range(BobName).....
TIA - Bob