View Full Version : DoCmd.TransferSpreadsheet


Nirious
02-01-2005, 03:25 AM
I have aproblem with the range of this thing. I think I have a wrong synthax or something.

I need to have the first 120 records of columns A and D
The first two lines aren't records but titles

So I had:
DoCmd.TransferSpreadsheet acLink, acSpreadsheetTypeExcel8, "ExcelTEMP", mijnFile, False, "A3:A122;D3:D122"


Access tels me there is somthing wrong with the range, though it works in Excel :confused:

Pat Hartman
02-01-2005, 07:28 PM
Try making it a named range.