D
david epsom dot com dot au
I'm trying to export to a position (A10) in a new spread sheet, rather than
using a named range.
I'm using a make table query. This doesn't work:
sSQL = "SELECT tblYC_YieldCurve.strPricingCode AS Yield_Code
sSQL = sSQL & " into [EXCEL 8.0;database=" & sfile & "].[A10] "
sSQL = sSQL & " FROM tblYC_PointData "
CodeDb.Execute sSQL, DAO.dbSeeChanges
I get a page named _A10, not data starting a A10.
[A10:G50] doesn't work either.
Any suggestions?
(david)
using a named range.
I'm using a make table query. This doesn't work:
sSQL = "SELECT tblYC_YieldCurve.strPricingCode AS Yield_Code
sSQL = sSQL & " into [EXCEL 8.0;database=" & sfile & "].[A10] "
sSQL = sSQL & " FROM tblYC_PointData "
CodeDb.Execute sSQL, DAO.dbSeeChanges
I get a page named _A10, not data starting a A10.
[A10:G50] doesn't work either.
Any suggestions?
(david)