Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access froze up while running VBA code

Status
Not open for further replies.

jcfraun

Technical User
Dec 13, 2008
51
US
I'm teaching myself to code in VBA and clearly I made an error, because Access is frozen up (trying to run a function) and I get the following error message when I try to end the program through the task manager:

You can't exit Microsoft Access now.
If you're running a visual basic module that is using OLE or DDE, you may need to interrupt the module.

I say ok and then I'm able to end the program through the task manager.

However, when I open Access again, it still has that file open and I can do nothing.

Any suggestions?
 
Any suggestions?
Well, without seeing the code it's hard to suggest anything ...

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Do you have multiple versions of MS Access on PC? If so, did they get installed in the proper order?

Is it a coding issue or MS Access issue?

Attempt to reproduce problem on another PC perhaps...

Did you compact/repair lately?

As PHV states, without a look at the code; it is tough to offer an opinion to the RCA of the issue.

htwh,

Steve Medvid
IT Consultant & Web Master

Chester County, PA Residents
Please Show Your Support...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top