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: 2
Default Excel add-in problem

Hi all,

I have a problem with an Excel document that I inherited at work, and
which -sadly enough- is important to QA.
I have narrowed down the problem to the following repro case

There is an add-in called DeltaV.xla which has a number of public methods
that are used to retrieve data from a live system through a COM component.
This add-in is registered under tools-add-ins.
I do the following to use it:
1) I open excel via the start menu. the add-in gets loaded
2) I click on the add-in specific toolbar button that allows me to configure
a field so that it receives a single data value from the system. This
results in cell A1 having the contents '=DvRead("tagname")' (minus the
single quotes of course).
3) after 3 to 5 seconds the data appears, though I have to press F9 to
refresh it.
4) I save the workbook and close excel.
5) I open the workbook by doubleclicking and the following happens

Excel shows a dialog: "This workbook contains links to other sources. To
update all linked information, click Yes; to keep the existing information,
click No".

If I click "yes", Excel shows the error message: "this workbook contains one
or more links that cannot be resolved". If I "edit links", the status of
the link is "error: undefined or non-rectangular name"

It seems as if the add-in is not loaded if I open the document by clicking
on it in the windows explorer. I have switched to VBA mode and verified that
indeed, the add-in is not loaded. After some googling I have the impression
that this is normal, but I am not sure.

I did some research this afternoon, and the solution seems to be that I have
to load this add-in myself and open activate it in my workbook_open handler,
but I have no idea on how to do this, or if this is everything I need to do.

I am a complete VBA newbie so I was hoping that someone could explain me in
detail what I have to do.

Kind regards,
Bruno van Dooren MVP - VC++

http://msmvps/com/blogs/vanDooren




 
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
Colon at the end of excel file name(ex: problem.xls:1, problem.xls financeguy New Users to Excel 2 January 15th 10 01:15 AM
Problem viewing Excel 2003 Pivot Chart fields in Excel 2007 ronny B Charts and Charting in Excel 1 October 24th 08 10:08 PM
Weird problem with Excel 2000...Worksheets disappearing in a shared Excel file BrianL_SF Excel Discussion (Misc queries) 2 October 10th 06 08:27 PM
Weird problem with Excel 2000...Worksheets disappearing in a shared Excel file BrianL_SF Excel Programming 6 October 7th 06 08:54 AM
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM


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