We have a set of about 15 worksheets, all about 90% identical, that are used to pull data from some different databases for running some performance metrics. We moved from Office 2010 to Office 365/2016 back in July. Before that move was made, we spent a few months testing for compatibility with the Excel and Access files we had, and once we were satisfied, we migrated everyone to 365/2016.
The week before Thanksgiving, everything was working fine. Then we went home for turkey, and came back on Monday, and it was a shitshow...
The theory is that over the weekend, Office updates were rolled out to everyone's systems. IT has acknowledged that an update was rolled out over the weekend...
Now this set of spreadsheets no longer functions properly.
After spending a day and a half, I had IT restore the spreadsheets from the Tuesday prior to Thanksgiving, hoping that would fix the issue. No such luck.
The issue is that about 95% of the vba code functions properly. Several of the spreadsheets use the table feature, and for some reason the table range (which initially should be the width of the active data, and the length of the active data) is getting reset to 1 row. So when we select the data in that table, it only returns 1 row instead of the correct 350-400 rows.
The maddening thing is that if I step through the code, about 1 out of 5 times it will function properly. But if I just let the code run, it fails 100% of the time.
I just had IT uninstall office 365/2016, and reinstall 2010. The file works properly. This is a diagnostic step, not a solution.
Does anyone know of any issues with a recent office update?
This is a set of spreadsheets that I've inherited - I didn't create them. An overview: go to the master tab, click on the 'delete data' button to clear out the target sheet. Then click on the 'update' button, which takes you to a download tab. Click the download button, and the vba pulls data from a few databases, and puts the results into the clipboard. Go back to the master tab, and click on the 'copy data', which pastes the data into the worksheet. This all works fine. The last step is to click on 'update comments', which does a vlookup to pull in additional info from an existing tab. This is where the vba code is failing, because the table for the data that was pasted should be 350 rows, but for some reason it is getting set to 1 row in length.
Thanks!
Steve
Bookmarks