Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA & XLL - function shadowing.

Hi -

Anyone else had a problem with excel refusing to see XLL function
calls if /at any time/ the workbook has had a vba module containing
the same function name?

Cells just return #name! - 'saving as' (the usual way to get round
excel cruft like this) doesn't work - the only way (short of XMLifying
the book!) I've found is to dump the xls into a hex editor, and
modify the reference to the function in the xls's shared string table.

(of course, if there are any other symbols sharing the same name as
the function I'm 'renaming', they tend to get renamed too,
inconvenient.....)

(problem seen in excel 2000, a friend verified it in XP...)

Anyone worked round this in a more elegant way? :)

Cheers,

Lee.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default VBA & XLL - function shadowing.

Try using Rob Bovey's free code cleaner utility. It exports all the code
modules, then saves the workbook, then imports them back in. This should
clean up the symbols table.

http://www.appspro.com

--
Regards,
Tom Ogilvy

Lee Benfield wrote in message
...
Hi -

Anyone else had a problem with excel refusing to see XLL function
calls if /at any time/ the workbook has had a vba module containing
the same function name?

Cells just return #name! - 'saving as' (the usual way to get round
excel cruft like this) doesn't work - the only way (short of XMLifying
the book!) I've found is to dump the xls into a hex editor, and
modify the reference to the function in the xls's shared string table.

(of course, if there are any other symbols sharing the same name as
the function I'm 'renaming', they tend to get renamed too,
inconvenient.....)

(problem seen in excel 2000, a friend verified it in XP...)

Anyone worked round this in a more elegant way? :)

Cheers,

Lee.



Reply
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
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
shadowing cells me Excel Discussion (Misc queries) 1 December 29th 07 11:09 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Shadowing of a bar chart Amcbeth Charts and Charting in Excel 1 August 30th 05 09:29 PM
Shadowing Patrick Excel Discussion (Misc queries) 2 April 8th 05 12:31 AM


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

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

About Us

"It's about Microsoft Excel"