Forum Discussion
giuseppesiragusa
Aug 03, 2023Copper Contributor
Macro Error
I got a VBA code from a colleague. We both use the same version of Excel and this exact same code works for him on this shee, but not on mine. I wasn't able to understand the reason for the "Error 40...
mtarler
Aug 03, 2023Silver Contributor
that is very hard without having the code and more information. It could be something like the location the file is stored. For example if the code expects/hard codes a path and that isn't the same on your machine that would fail. I'm not saying that is it but just 1 of many many many possibilities