Excel import

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello Cyberspace,
I am attempting to write my Access query (3 cells) to certain cells on one
Excel spreadsheet but I don't know the syntax to specify the worksheet, only
the filename in the Output To field in the Macro box. Can one specify the
worksheet cell range in addition to the filename in this case? Thank you in
advance for your reply!
 
Hi Mary,

You can't do this with the OutputTo macro action, but give it a try with
TransferSpreadsheet. Set the Transfer Type to Export, and use something
like this for the Range argument:

Sheet1$A3:C3

Alternatively, define a named range in Excel covering your three cells
(which must be a contiguous rectangular block) and use the name of the
range.
 
Back
Top