Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel Automation Add-in #NAME workbook corruption

Hello,

I work on an Excel automation add-in that registers some UDFs and shims to a
..NET and a VB6 addin. Most of the time, this works fine, but sometimes when a
a user saves a workbook, it somehow gets saved in a "corrupted" state, where
on subsequent openings of the workbook, all formulas using our UDFs return
#NAME when Excel triggers calculations. That state then isn't specific to the
machine that the workbook was saved on, if the workbook is sent elsewhere
(for example, to our Tech Support), it has the same problem.

"Changing" any individual formula by clicking into it and hitting return
causes it to "link back up" with our add-in, and it then calculates fine. The
workaround that we have come up with is to tell our users to do a
find/replace through the workbook on "=" with "=", which keeps all formulas
intact and forces them to link back up to our addin.

I haven't been able to find anything in common between the users that are
experiencing it- it is not specific to Office version (we support XP through
2K7), OS version (2K to Vista), or regional settings (Mostly US, UK, but all
over the world). Most of the time, workbooks save fine for these users.

Has anyone seen this issue before with udfs in addins? If not, can you point
me in the right direction to debug / find more information on it?

Thanks a lot,
Thanos
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
Opening Excel workbook via automation doesn't fire event procedures? Jeremy Gollehon[_3_] Excel Programming 2 July 7th 06 04:50 PM
EXCEL file corruption Dean[_8_] Excel Programming 8 April 15th 06 04:54 AM
Corruption in Excel? Dudley Excel Discussion (Misc queries) 0 October 25th 05 03:36 PM
Excel fails to open workbook using Automation from VB 6 Lowell Excel Programming 0 September 8th 05 05:33 AM
Any automation calls gets hung when the Excel workbook has an active cell. S.Tremblay Excel Programming 1 November 6th 03 05:43 PM


All times are GMT +1. The time now is 10:19 PM.

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"