Martien,
If you have a properly compiled help file this is easy. I have help files
built with Helpmatic Pro (relatively easy to use and good value shareware).
These are different to chm files I believe but I can't really remember the
research I did on this at the time when I settled on my current solution.
On a form I would have something like this
Private Sub cmdHelp_Click()
XHelp 32 'launch topic 32
End Sub
'in a general module
Public Sub XHelp(nContextID As Integer)
Dim strHelpFile As String
strHelpFile = ThisWorkbook.Path & "\EFA USER TOOLS.hlp"
Application.Help strHelpFile, nContextID
End Sub
Robin Hammond
www.enhanceddatasystems.com
"Martien Janssen" wrote in message
...
Hi
I am using the shell command to open a help file, something like:
Shell "hh c:\doc\myhelp.chm", 1
I would now like to open the help file at a specific topic ID (or context
number).
Any suggestions,
Thanks in advance
Martien