|
-
Jun 23rd, 2011, 08:16 AM
#1
Thread Starter
Don't Panic!
Excel - Problem running VBA Code
Hi,
I'm getting the operation error message when running code that works fine in Excel 2003.
"Object library invalid" or "Object library invalid or contains references to object definitions that could not be found"
I have two users who are the advanced check / updated to 2010 and the VBA coding wont run on their machine/login.
Yet if I log in on their machine the code runs fine.
It looks like on their log ins that the Excel VBA has a problem. No idea why and I can't find anything useful online.
One post talked about a computer update from MS that may have corrupted part of the excel. Something to do with EXD but I cannot find any of those files.
I have checked the references listing - nothing is missing and when using debug compile it highlight "Option Explicit".
Very weird.
Has anyone come across this and how to fix it?
Other users on Excel 2003 are using and its running fine.
The main curious thing was when I log in its fine - just when they log in it isn't.
Anything to try will be helpful - not time pressing at the moment, but if they 'upgrade' everyone it will be a major headache.
Thanks in advance
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jun 24th, 2011, 11:37 PM
#2
Hyperactive Member
Re: Excel - Problem running VBA Code
That can depend on a lot of different things, such as the code.
Which version of Office 2010 are you running?
There is a 64 bit version of Office available, which can actually install both 64 bit and 32 bit versions. The 64 bit version requires some programming changes and can give you many issues when changing from older versions of Office.
-
Jun 25th, 2011, 03:14 AM
#3
Thread Starter
Don't Panic!
Re: Excel - Problem running VBA Code
Good question - no idea will check on monday - think its the 32 bit version
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jun 28th, 2011, 03:43 AM
#4
Thread Starter
Don't Panic!
Re: Excel - Problem running VBA Code
Haven't got access to the machines yet (people in meetings) however... Just thinking over it, how come if I log in as me on their machine it works, yet their log on it doesn't. Surely we'd all not be working... will post back once I have the version.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jun 28th, 2011, 04:03 AM
#5
Frenzied Member
-
Jun 28th, 2011, 04:23 AM
#6
Thread Starter
Don't Panic!
Re: Excel - Problem running VBA Code
Yeah - been getting that with systems here.. users having problems I wander in and watch them and it 'mysteriously' works again... I reckon they weren't doing it right, and when I turn up they are more dilligent lol
As to the Excel thing... its bugging me now :/
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jun 28th, 2011, 05:03 AM
#7
Hyperactive Member
Re: Excel - Problem running VBA Code
Just thinking over it, how come if I log in as me on their machine it works, yet their log on it doesn't.
Not really sure, just guessing. On the one computer that I seen with Office 2010 64bit, it had both the 64 bit and the 32 bit versions. If that is the case, he could be opening the 64 bit version, and you may be opening the 32bit...
It is kind of odd that it highlights 'Option Explicit' during Debug, there may be something else wrong.
Last edited by nO_OnE; Jun 28th, 2011 at 05:21 AM.
-
Jun 29th, 2011, 04:11 AM
#8
Thread Starter
Don't Panic!
Re: Excel - Problem running VBA Code
I think I wanna go with 'something else is wrong' 
32bit version installed.
Wonder if it has lost the link to the right vba module... but then i log in would have thought it would play up on all.. :/
Might have another play today and see whether I can see anything that might be it.. a setting somewhere perhaps...
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jun 29th, 2011, 04:29 AM
#9
Thread Starter
Don't Panic!
Re: Excel - Problem running VBA Code
Oh... boy do things get weird.
I got one of the users who hasn't got a working version of the macros to log into the other machine.
It worked fine.
Suggests that there is a setting on the initial 2010 install or something on their account that is messing with it. Yet when they, as I did, log in to the other machine, it works.
A bit out of my comfortzone as to what is going wrong.
Does anyone happen to know of a way to reset the Excel to a default settings without un/re-installing?
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|