How to activate compiled HTML Help file using VBA code?

C

charles

Hi,

Can anyone tell me how to activate compiled HTML help file (*.chm)
using VBA code in Excel? Or better yet, how to open a help file by
clicking an added custom toolbar?

I'm hoping that users of my Excel applications can access to the help
files by clicking an added custom toolbar. I tried the shell command
like the following, neither worked:

program="c:\myapplication.chm"
taskid=shell(program,1)

helpfile="c:\myapplication.chm"
shell("start" & helpfile)

THANKS A LOT!
 
S

Stan Scott

Charles,

Do it like this:

Application.Help("c:\myapplication.chm")

Stan Scott
New York City
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top