LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Want to add help file for custom function but excel 2007 is flaked

I created a function in VB and wanted to add a help file, so that when you
pull the function up in "insert function" you could click on "help with this
function" it pulls up the function. After some digging I discovered how to
do this:

right click "VBAProject (MyAdd-in)"
VBAProject Properties...
Help file name (browse to help file)
assign context id

Then, in the code window,
bring up object explorer (F2),
navigate to my function,
right click, select "Properties...",
and enter context id assigned above.
(Note at this point that the "Help File" field, which can't be edited,
contains the same file location entered in the VBAProject Properties above...)

save project, flip back to excel, insert function, find mine, click "help
with this function" and viala it works.

Now the weirdness starts.

When I close and reopen excel, try to click "help with this function" again
and I get this error:

"Cannot open the file: mk:MSITStoC:\Program Files\Microsoft
Office\Office12\????."

So I try everthing I can find about this error (.ocx files, reregistering,
MJ's Tools, etc.) and nothing works.

When I navigate back to VBAProject Properties, the help file address is
still fine.
However when I go to the properties for my function, the "Help File" field
now reads "????" instead of the help file from VBAProject Properties.

So I go back to VBAProject Properties and enter "test" in the help file
field. I check my function and "Help File" now reads "test". I save and go
back to excel. Try clicking the link and low and behold I get this error:

"Cannot open the file: mk:MSITStoC:\Program Files\Microsoft
Office\Office12\test"

So when I reload excel it is corrupting the address for the help file for my
function and apparently the only way to resolve it is to load and resave in
VBA everytime I open excel (not exactly convenient)

So how does one get word to MS that there is something screwed up in excel?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2003 - 2007 custom macro and custom button restore. Scott Sornberger Excel Discussion (Misc queries) 11 May 23rd 08 02:41 PM
excel 2007 add custom menu ILearner Excel Discussion (Misc queries) 17 April 17th 07 07:18 PM
Problems with my links to an excel 2007 file from a word 2007 file sc Links and Linking in Excel 0 February 21st 07 10:12 AM
Custom Error Bar for Excel 2007 zrepiV Excel Discussion (Misc queries) 0 June 21st 06 06:07 AM
Is there any File Auto Save Function for Excel and Word 2007 (Bet Mr. Low Excel Worksheet Functions 2 June 16th 06 12:26 PM


All times are GMT +1. The time now is 01:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"