Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Martien,
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). See the following page for two ways to open a specific help topic from the command line. http://helpware.net/FAR/far_faq.htm#HHEXEParams If you need instructions on how to set up the help file to use context IDs, the best places to look a http://www.mvps.org/htmlhelpcenter/h...s.html#mapping http://helpware.net/htmlhelp/how_to_context.htm -- Pete (Microsoft Help MVP) |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thanks Robin for your reply. There is one problem though. Application.Help does not seem to work with chm files, at least not with mine (which I created with Help&Manual, not freeware or shareware but quite recommendable). I therefore use pete solution with a shell command launching the hh.exe command needed for the chm files. Thanks again, Martien *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula for having next number show when opening file | Excel Discussion (Misc queries) | |||
File:1 and File:2 -- Double Files when Opening One File | Excel Discussion (Misc queries) | |||
opening an excel file opens a duplicate file of the same file | Excel Discussion (Misc queries) | |||
File name changes on opening - adds a number to end | Excel Discussion (Misc queries) | |||
why does my file name get suffixed with a number when opening ? | Excel Discussion (Misc queries) |