TransferSpreadsheet Error - NOT!
:mad: I am having a problem with Access. If I make the filename more than 5 characters I get the error message...
'Cannot Update. Database or Object is Read Only'
... 5 character filenames are a bit limiting these days!!!
HELP!
Code:
DriveLetter = Left(Me.Application.CurrentProject.Path, 3)
ChDrive DriveLetter
ChDir DriveLetter & "Content Co-ordination\Price List Database\MailMerge"
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel3, "qryMail", "XXXXX.xls"