DefinitelynotMoss
New member
- Local time
- Today, 15:59
- Joined
- Mar 27, 2018
- Messages
- 7
Hi All
Relatively new to MS Access. Was using 2010 without any issues until work decided to upgrade us to 2013. The main problem I have at the moment is that when the database is starting to output our reports to Excel it seems to get stuck on selecting a sheet in the Excel spreadsheet to paste the information into
The Error is "Subscript out of Range"
For example it errors at the following bit of code
xl.Sheets("Proposed Area Plan").Select
Eg it is selecting the Proposed Area Plan tab in the Excel spreadsheet.
It is an intermittent issue. I paste into literally dozens of tabs on different reports and it doesn't happen on all of them. I can restart the database and it works, sometimes it fails.
Like I said, this was working fine in 2010, now 2013 doesn't like it.
Can anyone please help?
Thanks
(NotMoss)
Relatively new to MS Access. Was using 2010 without any issues until work decided to upgrade us to 2013. The main problem I have at the moment is that when the database is starting to output our reports to Excel it seems to get stuck on selecting a sheet in the Excel spreadsheet to paste the information into
The Error is "Subscript out of Range"
For example it errors at the following bit of code
xl.Sheets("Proposed Area Plan").Select
Eg it is selecting the Proposed Area Plan tab in the Excel spreadsheet.
It is an intermittent issue. I paste into literally dozens of tabs on different reports and it doesn't happen on all of them. I can restart the database and it works, sometimes it fails.
Like I said, this was working fine in 2010, now 2013 doesn't like it.

Can anyone please help?
Thanks
(NotMoss)