Help with: 'Run time error '-2147418113 (8000ffff)': Catastrophic Failure'.

peter_z

Board Regular
Joined
Feb 27, 2011
Messages
87
Hey guys, this is giving me some serious trouble so any help is much appreciated. One of the people at my work place can't use this excel file I used getting the error:

'Run time error '-2147418113 (8000ffff)': Catastrophic Failure'.

Everyone else can use it perfectly fine.

The code is:

Code:
'you must create a connection to the Microsoft ActiveX Data Objects 2.X library
'via Tools>References within the VBE!
 
strProvider = "Microsoft.ACE.OLEDB.12.0"
strDataSource = Worksheets("Reference").Range("B1").Value
Dim rst As ADODB.Recordset
Dim cnn As ADODB.Connection
 
With cnn
    .ConnectionString = "Provider=" & strProvider & "; Data Source=" & strDataSource & "; User Id=admin;Password=;"
    .CursorLocation = adUseClient
    .Open
End With

help please :) !

Any advice is much appreciated
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
The only time I ever got that error was when I tried to access an .mdb that was already open in another app.
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,008
Members
448,935
Latest member
ijat

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top