搞定了,顺便把方法也贴出来方便大家浏览: - Sub help() 'Shell "hh.exe E:\帮助\示例\help.chm"
-
- Dim FileName As String
- FileName = Application.VBE.ActiveVBProject.FileName
- Dim PathName As String
- PathName = Left(FileName, Len(FileName) - 11)
- Shell "hh.exe " & PathName & "help.chm"
-
- End Sub
多谢老大,多谢尹凡! |