+ Reply to Thread
Results 1 to 2 of 2

Method 'Open' of object 'Workbooks' failed from within browser window

  1. #1
    Registered User
    Join Date
    06-02-2008
    Posts
    5

    Method 'Open' of object 'Workbooks' failed from within browser window

    hi all,

    I've got an excel Macro in one of my projects that has to retrieve data from a seperate excel spreadsheet on the web. below is the code I use to extract that data:

    Please Login or Register  to view this content.
    This code works perfectly when it runs in Excel 2003, but when a link to the workbook was put on a webpage, it runs from within an Internet Explorer browser window, and this macro dies with error message "Method 'Open' of object 'Workbooks' failed".

    Is this a shortcoming of running Excel from within a browser window? Is there a workaround for this?

    thanks for any help you can give

  2. #2
    Registered User
    Join Date
    06-02-2008
    Posts
    5
    I've made the error message display a more useful message to the user, informing them that they should download the form instead of opening it in internet explorer, but this is really just a temporary solution.

    Is there no way of copying a worksheet from a location on the web from an excel workbook opened in Internet Explorer?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Store Bitmap Object In Excel 2003 To Access Database?
    By Soar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-03-2008, 02:13 AM
  2. Activate method of chart object failed
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-30-2008, 06:37 AM
  3. Method ‘Range’ of object ‘_Global’ failed
    By The_Vulcan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2007, 05:29 AM
  4. error 1004, method of class/object failed
    By daboyroy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-24-2006, 12:01 AM
  5. Replies: 3
    Last Post: 10-18-2006, 12:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1