LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Removing #NAME? from cells.

I'm creating a FAQ on how to programmatically install an addin when a
workbook loads. The reason for this is you can not distribute the workbook
because when on someone else's PC, it will not find the addin because the
addin is usually stored in *my* profile. I have one problem with my
solution.

When I distribute the workbook and addin, the addin is not in the user's
profile and has to be manually installed because normally addins are
hard-coded into the calling/linked workbook. Thus, I have written code to
programmatically install the addin when the workbook opens.

My solution involves removing the addin from the workbook and saving the
workbook before distributing it. This causes all cells with a reference to
the Addin's UDF to change value to #Name? I do this to stop the annoying
missing links msgs when the workbook opens on the target PC.

When the workbook opens, it installs the addin programmatically, BUT the
cells with the reference to the addin's UDF still show #NAME? The only way
to "reconnect" the addin's UDF to the cells is to manually edit each cell-
the UDF then shows a result in the edited cell!?

Can I automate this to stop the #NAME? from showing?

Regards

Julian


 
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
Removing Spaces In Cells Chris Excel Worksheet Functions 9 May 29th 08 05:45 PM
Removing empty cells rehaylock Excel Discussion (Misc queries) 1 May 9th 08 07:29 PM
Removing List from Cells undrline via OfficeKB.com Excel Discussion (Misc queries) 2 March 15th 07 11:05 PM
Removing spaces from cells not possible? Robert M. Gary Excel Discussion (Misc queries) 4 October 11th 06 11:34 PM
Removing '0's' in cells pewe Excel Worksheet Functions 5 July 31st 05 07:45 PM


All times are GMT +1. The time now is 01:59 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"