Results 1 to 4 of 4

Thread: Hooking up a CHM file to xl2007

  1. #1
    Senior Member
    Join Date
    Apr 2011
    Posts
    190
    Rep Power
    15

    Hooking up a CHM file to xl2007

    I looking for an example of how to connect a CHM (Help file) to my XLAM add-in - any example showing how to do this would be most appreciated.
    xl2007 - Windows 7
    xl hates the 255 number

  2. #2
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Hi Rasm,

    have a look at Ken's post here Using Help in Your Applications
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  3. #3
    Senior Member
    Join Date
    Apr 2011
    Posts
    190
    Rep Power
    15
    Very cool article
    xl2007 - Windows 7
    xl hates the 255 number

  4. #4
    Senior Member
    Join Date
    Apr 2011
    Posts
    190
    Rep Power
    15
    This worked great - here is the code to bring up the entire CHM file

    Code:
    Public Sub ReadHelpFile(Language)
        'http://www.excelguru.ca/content.php?166
        Dim MyHelpFile As String
        MyHelpFile = ThisWorkbook.Path & "\NameOfFile.chm"
        If Dir(MyHelpFile, vbNormal) <> "NameOfFile.chm" Then
            Astr = MyHelpFile
            Call Message109(Language, Astr)
            Exit Sub
        End If
        Application.Help MyHelpFile
    End Sub
    xl2007 - Windows 7
    xl hates the 255 number

Similar Threads

  1. Read/write very large xl2007 files
    By Rasm in forum Excel Help
    Replies: 3
    Last Post: 04-07-2012, 05:28 AM
  2. Import text file to an Excel file
    By obed_cruz in forum Excel Help
    Replies: 5
    Last Post: 08-03-2011, 07:58 PM
  3. Replies: 1
    Last Post: 06-02-2011, 10:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •