VonPookie HELP!!!

TrippyTom

Well-known Member
Joined
Nov 16, 2004
Messages
587
:biggrin: I am calling upon the powers that be to inform them of my plight with VBE HTML Maker. It doesn't seem to have a FAQ like the normal HTML Maker does.

I'm getting the following error window when trying to install the add-in:
Compile Error:
Error in Loading DLL
[OK][Help]


and if I go to the code, it's stopping on the Set Obj line here:
Code:
Public Sub Initialize()
    Dim Btn As CommandBarButton, Obj As Object, cBtn As clsBtn
    Dim i As Long, j As Long
    Terminate
    Set Col = New Collection
    For j = 1 To 2
        On Error GoTo err_h
        Set Obj = Choose(j, Application.VBE.CommandBars.FindControl(ID:=30007), Application.VBE.CommandBars("Code Window"))
        With Obj

I'm running Office 2003, SP2.
 
Eeeeesh. I have no idea. I don't know the technical stuff so much as I do how things work with the board--and even then, I'm no expert on the matter.

On top of that, I haven't used the VB HTML Maker in a long, long time.

I would suppose a good place to start would be to do a Google search on the error message itself, see what comes up, though. That's about all I can do. I do not have a copy of 2003 installed to test it.
 
What's your Security Settings like?

Like this?

Click OK to close the dialog box with the error and go to Tools->Macros->Security. Click the Trusted Sources tab and check the box next to "trust access to Visual Basic Project," and click OK.
Stab in the dark here... :)
 
Hi Nate,
BOTH of those checkboxes are enabled. Should they not be?
 
Yes, they should be. Actually, this file tests for that:

http://www.mrexcel.com/vbaddin.shtml

Are you using this file? I can't find the procedure you're referring to in there... :confused:

I see this, but it's not the same:

Code:
'Put the buttons in the VBE Tools menu
Sub CreateBar()
    Dim Btn As CommandBarButton, Obj As Object
    Dim i As Long, j As Long
    DeleteBar
    For j = 1 To 2
        On Error GoTo err_h
        Set Obj = Choose(j, Application.VBE.CommandBars.FindControl(ID:=30007), Application.VBE.CommandBars("Code Window"))
You might want to swap files? Not sure, works fine for me in xl 2003...
 
Hi Nate,
Yes, it's the same file. Just to make sure, I downloaded it again, and wrote over my addin, and it still errors at the same point.

It's under the CLASS MODULES > clsBtn code. Does that help narrow it down a little?
 
However, if I cancel out of that, and try to use the addin, it seems to be working!
book2
ABCD
1thisisatest
2isis
3aa
4testtest
Sheet1


I have no idea what's causing this to trigger an error. I guess I can live with this happening only when I start Excel, it's just a minor annoyance.

I have a similar (related?) issue in a macro that tries to set calculation when Excel starts.
 
What's the name of the file that you're working with? Just to be sure... :confused:
 
What Nate means is which add-in are we talking about?

You originally said this was a problem with the VB HTML add in, but the example you posted above is using the HTML Maker--not the VB HTML Maker.

So--which is it?

(I still really wish one of these were named differently. :confused:)
 
Oh sorry, yeah my bad.
It's the VB one. The names confuse me all the time too.
The VB one is still NOT working. I guess it was wishful thinking on my part.
 

Forum statistics

Threads
1,221,614
Messages
6,160,839
Members
451,673
Latest member
wella86

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