VBA Error - Class Not Registered

Dave Punky

Board Regular
Joined
Jan 7, 2010
Messages
133
Hi All,

I'm hoping somebody on here can help me with this as Google has not been very useful at all in trying to solve this.

I'm currently running Windows 7 (Ultimate, 32-bit) along with MS Office 2007 Enterprise and I'm trying to use the ListView functions or the DTPicker. I've enabled MS DAO objects in references but whenever I try to use the custom function to make changes I get this error:

error.jpg


I've only just reimaged my machine along with reinstalling Office, although I was having this problem before. It happens with any additional functions I try to add in, but mainly when I try to access custom functions.

Has anybody else experienced this error or more notably does anybody know how to fix this?
 
@ rorya

Yep, completely formatted the HDD and installed fresh, so there's no Windows.old file or anything which could be causing this problem.
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hmm, curious. Did you run the command prompt as an administrator when you registered the dll and ocx files?
 
Upvote 0
@ rorya

Yeah I did, I'm the only user on this machine and I default everything as an admin.

If I try and register Msstkprp.dll, because it's not finding it it won't register at all but everything else will register without issue.
 
Upvote 0
Oh - I thought you said you had downloaded it?
 
Upvote 0
I have although the ones I have downloaded just dont activate - although I just managed to activate it and it seems to be working - restarting the machine after putting the file in the directory and then activating it seems to make all the difference.
 
Upvote 0

Forum statistics

Threads
1,216,126
Messages
6,129,007
Members
449,480
Latest member
yesitisasport

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