Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default lost reference to activesheet when opening workbook inside IE

I have created an Excel (2003) using a VB Form for data input (and
validation), which, after the user finishes with entering information,
returns values to the sheet behind it, in order to carry on with calculations.

The problem now is that users started calling this Excel from IE: a web page
links to the Excel, they click the link and the Excel file opens inside IE,
as an embedded object to the web page.
When opened like that, the form I am using inside the Excel loses access to
the worksheet object model behind it:
the reference to the "Activesheet" now returns an error 91 (object variable
or with block.....)

How can I regain access to the Worksheet object model from the form, when
Excel is opened inside IE?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default lost reference to activesheet when opening workbook inside IE

This may not be a good solution for you...

I'd do my best to not let MSIE open the file:

How to Configure Internet Explorer to Open Office
Documents in the Appropriate Office Program Instead of in Internet Explorer
http://support.microsoft.com/?scid=162059

There are just too many things that don't work when an excel file is opened in a
browser.

vsiat wrote:

I have created an Excel (2003) using a VB Form for data input (and
validation), which, after the user finishes with entering information,
returns values to the sheet behind it, in order to carry on with calculations.

The problem now is that users started calling this Excel from IE: a web page
links to the Excel, they click the link and the Excel file opens inside IE,
as an embedded object to the web page.
When opened like that, the form I am using inside the Excel loses access to
the worksheet object model behind it:
the reference to the "Activesheet" now returns an error 91 (object variable
or with block.....)

How can I regain access to the Worksheet object model from the form, when
Excel is opened inside IE?


--

Dave Peterson
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
Can i use a reference inside Countif LAM Excel Worksheet Functions 1 April 2nd 09 04:25 PM
Fix for the slow opening of excel 2007 (Fix inside) [email protected] Excel Discussion (Misc queries) 1 September 18th 08 01:38 AM
ActiveSheet & Apropriate Reference James C. Excel Programming 4 May 19th 06 06:08 PM
Lost reference to workbook Pete[_18_] Excel Programming 4 September 14th 04 06:00 PM
Preventing opening workbook inside active workbook. Serge[_4_] Excel Programming 2 November 4th 03 07:51 PM


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