Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Reference / Binding Addin.xlam

Hello!
I have a workbook that uses some procedures and functions wich, for
convenience reasons, I have stored in a seperate Excel Addin. The workbook
has a reference to said Addin and everything works Great!

HOWEVER....

Recently, and for convenience reasons again, I decided to sotre my Addin on
a server. Yet, when I try to create the reference to the workbook, who's path
is now "http://Myserver/blah.xlam", I get an error message saying Visual
Basic cannot add a reference to the file. How should I go about solving this?
Maybe via Late binding? If so, could someone help me with the code? Other
Alternatives?

Any advice GREATLY appreciated.
Thanks in advance,
Albert C.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Reference / Binding Addin.xlam

servers are usuall \\serverbane\sharename\...


fir laet binding declare your varaibles as Object then

DIM oMyObject as Object
Set oMyOject = CreateObject("appname")

"Albert" wrote:

Hello!
I have a workbook that uses some procedures and functions wich, for
convenience reasons, I have stored in a seperate Excel Addin. The workbook
has a reference to said Addin and everything works Great!

HOWEVER....

Recently, and for convenience reasons again, I decided to sotre my Addin on
a server. Yet, when I try to create the reference to the workbook, who's path
is now "http://Myserver/blah.xlam", I get an error message saying Visual
Basic cannot add a reference to the file. How should I go about solving this?
Maybe via Late binding? If so, could someone help me with the code? Other
Alternatives?

Any advice GREATLY appreciated.
Thanks in advance,
Albert C.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Reference / Binding Addin.xlam

Sharepoint sites have a url like http://...

"Patrick Molloy" wrote:

servers are usuall \\serverbane\sharename\...


fir laet binding declare your varaibles as Object then

DIM oMyObject as Object
Set oMyOject = CreateObject("appname")

"Albert" wrote:

Hello!
I have a workbook that uses some procedures and functions wich, for
convenience reasons, I have stored in a seperate Excel Addin. The workbook
has a reference to said Addin and everything works Great!

HOWEVER....

Recently, and for convenience reasons again, I decided to sotre my Addin on
a server. Yet, when I try to create the reference to the workbook, who's path
is now "http://Myserver/blah.xlam", I get an error message saying Visual
Basic cannot add a reference to the file. How should I go about solving this?
Maybe via Late binding? If so, could someone help me with the code? Other
Alternatives?

Any advice GREATLY appreciated.
Thanks in advance,
Albert C.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Reference / Binding Addin.xlam

sure, but since that didn't seem to work, I was offering an alternative.

"Barb Reinhardt" wrote:

Sharepoint sites have a url like http://...

"Patrick Molloy" wrote:

servers are usuall \\serverbane\sharename\...


fir laet binding declare your varaibles as Object then

DIM oMyObject as Object
Set oMyOject = CreateObject("appname")

"Albert" wrote:

Hello!
I have a workbook that uses some procedures and functions wich, for
convenience reasons, I have stored in a seperate Excel Addin. The workbook
has a reference to said Addin and everything works Great!

HOWEVER....

Recently, and for convenience reasons again, I decided to sotre my Addin on
a server. Yet, when I try to create the reference to the workbook, who's path
is now "http://Myserver/blah.xlam", I get an error message saying Visual
Basic cannot add a reference to the file. How should I go about solving this?
Maybe via Late binding? If so, could someone help me with the code? Other
Alternatives?

Any advice GREATLY appreciated.
Thanks in advance,
Albert C.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Reference / Binding Addin.xlam

Thank you Patrick.
How should I get the statement

Set oMyOject = CreateObject("appname")

to point to the file I have on the server?
("http://Myserver/blah.xlam")

Thank you,

Albert C


"Patrick Molloy" wrote:

servers are usuall \\serverbane\sharename\...


fir laet binding declare your varaibles as Object then

DIM oMyObject as Object
Set oMyOject = CreateObject("appname")

"Albert" wrote:

Hello!
I have a workbook that uses some procedures and functions wich, for
convenience reasons, I have stored in a seperate Excel Addin. The workbook
has a reference to said Addin and everything works Great!

HOWEVER....

Recently, and for convenience reasons again, I decided to sotre my Addin on
a server. Yet, when I try to create the reference to the workbook, who's path
is now "http://Myserver/blah.xlam", I get an error message saying Visual
Basic cannot add a reference to the file. How should I go about solving this?
Maybe via Late binding? If so, could someone help me with the code? Other
Alternatives?

Any advice GREATLY appreciated.
Thanks in advance,
Albert C.



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
Urgent Pls, how to convert an addin xlam file to xls worksheet in Ahmed Excel Discussion (Misc queries) 1 April 28th 09 06:25 PM
Late Binding access reference in Excel Module Noemi Excel Programming 0 November 16th 07 12:54 AM
Late Binding examples of binding excel application HeatherO Excel Programming 13 March 17th 05 08:19 AM
VBA References - when is Office Object Library Reference set? Best practice re. Early/Late binding ... AndyB Excel Programming 5 April 22nd 04 02:11 PM
EARLY binding or LATE binding ? jason Excel Programming 6 February 26th 04 04:57 PM


All times are GMT +1. The time now is 02:47 AM.

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"