2007 Database doesn't open on other computer

G

Gerry Verschuuren

I sent a 2007 DB with VBA code as zip file to another computer. Upon opening,
this message appears: "The command or action "OnError" isn't available now."

I have no idea what is going on.

Please help,
Gerry
 
G

Gerry Verschuuren

I myself do not have "OnError" in my coe, for I know that should be split.
But this is the error message that pops up. I have a vague suspicion that VBA
is looking for an added, referenced library that does not exist on the other
computer.
 
D

dymondjack

Does the original work? How about if you were to put it on a thumb drive to
relocate it, and see if it works that way to rule out a problem with the .zip
file. Though not often, I have seen zipped files that don't unzip exactly as
they're supposed to.

--
Jack Leach
www.tristatemachine.com

- "Success is the ability to go from one failure to another with no loss of
enthusiasm." - Sir Winston Churchill
 
G

Gerry Verschuuren

Thanks for your suggestion. I had tried that already. But I finally found out
what the problem was: I had added a reference to the Outlook library 12, and
that library was missing on the other computer. Isn't great to receive such
mysterious error message!!!

Thanks again.
 
Top