HTMLMaker error: Compile Error Can't find project or library

MPastor

Board Regular
Joined
Apr 8, 2004
Messages
136
I've read and attempted to use the FAQ info about HTMLmaker, but the steps to fix MISSING references don't seem to "fit" my problem.

When I select the CONVERT SHEET TO HTML menu option under the add-in's HTML menu option, I get the message:
Code:
Compile Error Can't find project or library
and it highlights the LEFT function in the statement that appears below.
Code:
Set rngSelection = Application.InputBox(strMsg1, Left(strMsg2, 46), Selection.Address, Type:=8)
I can't seem to find any solutions for this problem.

Any ideas or suggestions??
 
Re: HTMLMaker error: Compile Error Can't find project or lib

Uncheck the Outlook library reference in the HTML maker, it should be denoted as 'missing.' You should be all set. :)
 
Hey Nate!

Do you happen to have any specific reasoning for that problem? I never ran into that one and don't recall anyone really mentioning it before...

Basically, I'm just thinking that if someone can explain to me what/why something with Outlook is causing the problem, I can add it to the FAQ :)
 
Re: HTMLMaker error: Compile Error Can't find project or lib

Nate, that fixed it. Thanks. By the way, there was nothing that I could find that said "Missing" anywhere in the References list...but, that doesn't matter now. THANKS LOTS!!!

...Mike
 
Re: HTMLMaker error: Compile Error Can't find project or lib

Howdy Pook, it's not outlook specific, any bad reference will muck this up. Why, not sure. But I noted this here:

http://mrexcel.com/board2/viewtopic.php?t=92788&start=19

Here's a related (albeit Access) KB:

http://support.microsoft.com:80/support/kb/articles/q160/8/70.asp

Note, the level is moderate. :lol:

In any case, not sure what the issue is, but left() can indeed fail in VBA with missing references. :)

The HTML maker ships with a reference to Outlook XP (10.0) I believe, which can be a problem for folks.

Mike, you are welcome. :)
 
Re: HTMLMaker error: Compile Error Can't find project or lib

Well, It's always left, so my theory is that VBA might be trying to access the Left property of the broken app ? you know, the Left that tells you the left position of the window ? there's not "Right" property so that one always works... ;-)
 
Re: HTMLMaker error: Compile Error Can't find project or lib

Juan, I think you've hit the nail on the head somehow... Okay, so I take the following:

c817f448.jpg


And without fixing the reference, I attempt to run:

MsgBox Left$("test", 1)

And it fails. However, if I run:

MsgBox VBA.Left$("test", 1)

And it works just fine.

So, it seems that is looking in the wrong place.
 
Re: HTMLMaker error: Compile Error Can't find project or lib

Hi guys,

In my experience we can get really weird behaviour due to missing references...

Recently I shipped a solution where I used third-part controls. The solution involved some easy stuff like Date and UCase and Excel was not able to resolve it. Removing the missing reference restored everything - well almost except for my own errors :lol:
 
Re: HTMLMaker error: Compile Error Can't find project or lib

Nate -

I am not sure what mine is doing? It seems to be a similar issue.
However it is a little different....

When I open the VBA script editor and try and "uncheck" the out look reference it is not there...

However,
If I "un-check" the Add in in Excell for htmlmaker and close excel
I get the error reference again

then....
When I open excel and "re-Check" the Addin for htmlmaker then the Check box appeard with the Missing Outlook reference...When I uncheck it...
Everytihing is OK...Until I close excel and re-open it...then the cycle starts over?

any ideas?
 
Re: HTMLMaker error: Compile Error Can't find project or lib

Hello again,

Uncheck the reference, then hit the save button (Or File->Save) in the VBE. Close and retry.
 

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

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