[RESOLVED] Compilation Error...
hey All,
so I have a project that is working perfect on the computer I am developing... However, on some computers, with the same version of Excel, they are getting compilation errors with lines of code such as
.Format or .Mid ... It was easy enough to fix by just putting a
VBA.Format or VBA.Mid before the method, but why do some computers need this .VBA and some don't?
Am I not including a reference that I need to be? Or is it just best style to put .VBA in front of these methods??
Thanks much,
PG
Re: [RESOLVED] Compilation Error...
Yep, but unfortunately this error does cause that - and understandably so, as the way it is handled by VB/VBA is terribly misleading (it should show the References screen rather than highlighting any code).
I know the check we asked for usually takes only a few seconds, but it will be longer in this case as it is happening on a different computer.
pgag45, I know that you have just marked this thread as Resolved (without getting what you want), but we can fix this with minimal effort from you.
Please just humour us, and post a screenshot of the References screen from the other computer.
We will then either be able to fix this in very few posts (it usually takes just 2 from that point), or change our focus to whatever the actual problem is in this case.
However it will be solved, we do actually need to know the full list of References that you have got ticked.