Share via

cannot expand name range error 3434

Anonymous
2023-03-31T18:22:28+00:00

Hi Everyone,

HAs anyone came across this error "cannot expand name range" error Number 3434 when using DoCmd.TransferSpreadsheet acExport

THis is my line of code that causes the issue

DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12Xml, "ExceptionRNS", CurrentProject.path & "" & "myexportedfile" & Format(Now(), " mm dd yyyy"), True

I have no idea what is not working ..the table "ExceptionRNS" is populated

any thoughts?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. George Hepworth 22,855 Reputation points Volunteer Moderator
    2023-04-01T13:11:22+00:00

    Because this problem is related primarily to Excel, you might get more visibility by posting it in an Excel forum.

    That said, the problem is likely that the Named Range in the Excel worksheet has fewer rows designated than our export is trying to insert. Search for "Dynamic Named Range".

    Was this answer helpful?

    0 comments No comments