Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Possible to relax workbook links??

Hi,

is there a way to relax Excel's treatment of workbook
links?

I've made a plug-in authored in VBA, saved as an XLA file.
It contains some custom functions that are used to
retrieve data from the web app.

When the user chooses a menu item in the web app,
JavaScript in the page instantiates Excel and downloads
the plug-in simply by opening it from a url; i.e.
Excel.Workbooks.Open(pluginURL).

My problem occurs when a user saves her spreadsheet, later
reconnects to the web, starts Excel from the menu (so the
plug-in is loaded) and re-opens the saved spreadsheet. If
the plug-in is opened from the exact same url everything
is fine. But if it is a different web server (or simply an
alias, e.g. example.net instead of www.example.net) it
does not. Excel then complains about broken workbook links.

In the formula bar, references to plug-in functions
are "fully qualified" with the url after re-opening a
saved workbook,
e.g. "http://www.exampleUrl.net/myplugin.xla!myfunction
(args)". Removing the workbook reference so
only "myfunction(args)" remains rectifies the problem;
however it's back next time the book is opened.

So what I need is one of the following:

- save workbook with function references without workbook
qualifiers.

- have Excel ignore the workbook qualifier in function
references

- programatically remove workbook qualifier from formulas
in the spreadsheet.

Any help would be greatly appreciated. Happy coding,

Dag Johansen
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
workbook links Russ Excel Discussion (Misc queries) 1 February 5th 08 06:06 PM
Links to other workbook Ian[_4_] Excel Worksheet Functions 3 September 19th 07 06:51 PM
My workbook links are not updating (its 30,000 KB size workbook). rselena Excel Discussion (Misc queries) 1 August 14th 06 09:14 PM
Workbook Links pavlai Excel Worksheet Functions 1 March 14th 06 03:44 PM
Possible to relax workbook links?? Dag Johansen[_5_] Excel Programming 0 October 13th 03 12:28 PM


All times are GMT +1. The time now is 04:44 PM.

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"