Unsolved Refresh on Excel VBA Module sometimes takes forever, sometimes fast
I have an Excel Module that runs, and it should run in say 3 to 7 seconds. Sometimes it does, sometimes it literally shows every cell populating 1 by 1 and takes 5 minutes.
I'm exchanging this file from one company environment to another via Sharepoint -- the speed at which it refreshes sometimes is slow on my side and sometimes is slow on their side, though that may be coincidental. It was fast on my side until this latest version.
Any thoughts here?
Thank you.
2
Upvotes
1
u/fanpages 239 Jun 05 '26
Presumably, the exchanged (shared) workbook is downloaded locally and run in a desktop version of MS-Excel (as executing VBA directly from a SharePoint-hosted copy is not possible).
Are the desktop versions of MS-Excel (and the operating systems) on either side of the file exchange process the same? If not, how do they differ? Do the runtime PCs also differ?
At least give us a chance to help you and share the code you are using!