simple question: how to open a htm file in vba

Biedubbeljoe

Active Member
Joined
Aug 16, 2004
Messages
308
How do I open a htm file in vba,
while my active workbook/sheet stay'open?

Private Sub ShowHelp_Click()
Unload Me
Show.HelpFile.htm
End Sub
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Two options:

1. Tools|Macros|Security, Trusted Sources tab, check "Trust access to Visual Basic Project".

2. Replace ThisWorkbook.VBProject.HelpFile with the actual filename, surrounded by quotes.
 
Upvote 0
The second option..:)
The microsoft help window indeed appear now!
But it's complete blank. If I start the help.chm file manuel in windows it shows all the nice thinks I put in there, to help others.
Why?
 
Upvote 0

Forum statistics

Threads
1,224,154
Messages
6,176,731
Members
452,740
Latest member
MrCY

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