Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Opening Addin using URL

I have couple of templates (each template have 8 input forms), which use some
common data and functionality. Templates are accessed through intranet. I
have put the common data and functionality in another template and saved it
as xla.

How it works : From the intranet someone can open & run a template . If a
particular option is clicked the common data "xla" opens and data is
accessible. It works fine until i run the main template from my PC. When i
try to run it from the intranet it gives me following error.

Run-time error '1004'
Method 'Open' of object 'Workbooks' failed

I use the below code to open the xla file
Workbooks.Open ("http://-------/abc.xla") 'complete url

Anybody having any idea what could be the possible reason and solution for
this


--
Ajit
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Opening Addin using URL

Let me try to make it simple

I have an excel spreadsheet that uses a macro to open
another excel spreadsheet via Workbooks.Open(filename)


On my local drive this works fine and it opens the second
file, runs the query, and closes it without complaint.
When I run it via a network drive it works fine as well.


However, when I try to run it via a browser (i.e. put the
file on a web server and then open the url as
http://www.whatever.com/myfile.xls") and then run the
macro I get a runtime error 1004 stating "Method 'Open' of
object 'Workbooks' failed".

Any idea what is causing this?




"Ajit" wrote:

I have couple of templates (each template have 8 input forms), which use some
common data and functionality. Templates are accessed through intranet. I
have put the common data and functionality in another template and saved it
as xla.

How it works : From the intranet someone can open & run a template . If a
particular option is clicked the common data "xla" opens and data is
accessible. It works fine until i run the main template from my PC. When i
try to run it from the intranet it gives me following error.

Run-time error '1004'
Method 'Open' of object 'Workbooks' failed

I use the below code to open the xla file
Workbooks.Open ("http://-------/abc.xla") 'complete url

Anybody having any idea what could be the possible reason and solution for
this


--
Ajit

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 An AddIn As A Normal Excel File FARAZ QURESHI Excel Discussion (Misc queries) 1 March 14th 09 09:17 PM
&H80004005 (-2147467259) error when opening eurotool addin Peter from holland Excel Discussion (Misc queries) 1 October 11th 07 10:24 PM
excel VBA problem - setting workbook as variable & opening/re-opening safe Excel Programming 1 August 20th 04 12:22 AM
Remove Excel AddIn from AddIn List !! Help carl Excel Programming 2 December 8th 03 03:36 PM
opening files from explorer with startup file and addin Anthony Ryan Excel Programming 3 October 20th 03 11:00 PM


All times are GMT +1. The time now is 01:29 AM.

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"