I have developed a fairly complex Excel workbook. Now I want to document it. I discovered MS compiled HTML file. So I wrote a document in Word that contains detailed information about each sheet in my workbook. I saved it and use the MS HTML Help Workshop and the chmProcessor that I downloaded from the web. Eventually I got it to work and created the .CHM file. In my workbook I wrote a sub that looks like this:
Sub getHelp()
Dim currentPath As String
currentPath = ActiveWorkbook.Path
Application.Help (currentPath & "\LogicAndAccuracyTesting.chm")
End Sub
It all works. From my workbook, I set {f1} to call getHelp and it does display my documentation.
Help also support the HelpContextID property. I want to use it to display the exact topic that the user has asked for help.
How do I get the HelpContextID from my Word document? If I save the .docx file as a .htm file, how can I get the HelpContextID? How do I use 2 components of office (Word and Excel) to create a tightly integrated help system? I'm not a professional developer at this point so I don't want to spend a lot of money on a professional help authoring system.
Thank you for your help.
