ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   HTML Help not closing the file (https://www.excelbanter.com/excel-discussion-misc-queries/22455-html-help-not-closing-file.html)

pod

HTML Help not closing the file
 
I am using HTML Help to display help information within my Excel program.
After I close HTML Help, the file system thinks that the .chm file is still
being accessed, and I cannot overwrite the file (although the HTML Help
process is closed). Here is the code that I have to open:

Call HtmlHelp(0, ActiveWorkbook.Path & "\MyHelp.chm", HH_DISPLAY_TOPIC, 0)
or
Call HtmlHelp(0, ActiveWorkbook.Path & "\MyHelp.chm", HH_HELP_CONTEXT, 1001)

and to close:

Call HtmlHelp(0, 0, HH_CLOSE_ALL, 0)



All times are GMT +1. The time now is 01:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com