When using a HTML help file, you will obviously want to be able to display certain pages or sections. This code shows you how to display a topic in the help file from a Message Box
You need to have a compiled html help file saved as C:\TestHTMLHelp.chm, a window called Main, and a topic mapped to ID 1010. Click here for information on how to do this.
MsgBox "Test Error Message Text.", _
vbOKOnly + vbExclamation + vbMsgBoxHelpButton, _
"Test Error Message", _
"C:\TestHTMLHelp.chm" & ">Main", 1010
Comments