Hi, I have an excel User Defined Function (UDF) in Excel 2010 and want to redirect the 'Help on this function' hyperlink in the function wizard to a webpage. I used the MacroOptions to set up the function description and parameter descriptions and now would like to set up the help. The function is already documented on a webpage, so I'd prefer linking to the webpage instead of creating the HXS files that are sure to be abandoned by Microsoft in the very near future. My code looks like this:
When I compile and then try the function and click the hyperlink, it just takes me to the general Excel Help, which is a slight improvement over showing a dialog box with 'No Help Available', but still not ideal. Any ideas?
Thanks,
Brian
Code:
Sub RegisterFunction()
Dim vArgDescr(1 To 7) As Variant
vArgDescr(1) = "Test1"
vArgDescr(2) = "Test2"
vArgDescr(3) = "Test3"
vArgDescr(4) = "Test4"
vArgDescr(5) = "Test5"
vArgDescr(6) = "Test6"
vArgDescr(7) = "Test7"
Application.MacroOptions _
Macro:="TestFunction", Description:="Function used for testing MacroOptions", _
Category:="TestCat", _
ArgumentDescriptions:=vArgDescr, HelpFile:="http://www.google.com/"
End Sub
When I compile and then try the function and click the hyperlink, it just takes me to the general Excel Help, which is a slight improvement over showing a dialog box with 'No Help Available', but still not ideal. Any ideas?
Thanks,
Brian