Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mat Mat is offline
external usenet poster
 
Posts: 1
Default Problems with Excel via IE

Hi All,

I believe others have encountered this problem but I have not seen a
resolution....

I am serving up an Spreadsheet via our content management system, thus
the spreadsheet is loaded via IE rather than Excel itself.

A button on the sheet calls an add-in (the Jwalk dataform):

Private Sub cmdEnterData_Click()

Application.Run "dataform2.xla!showdataform"

End Sub

Upon entry to the form I am getting an object error 91 on the
Activesheet Object:

If ActiveSheet.ProtectContents Then
MsgBox "This command cannot be used on a protected worksheet."
& vbCrLf & "Use the Tools - Protection - Unprotect Sheet command and
try again.", vbCritical, APPNAME
Exit Sub
End If

This would, however, work if I ran it through the Excel full client.
The same problem also affects Activecell.

It looks to me that these global objects (Activesheet, ActiveCell etc)
are not being set by IE.

The problem is not with the Add-in as referencing Activesheet from the
calling sheet gets the same error.

Hope someone can help,

Mat

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
aauugghhh...#div/o problems & various average formula problems acbel40 Excel Worksheet Functions 5 October 19th 09 05:00 PM
Excel 2003 drawing objects problems in Excel 2007... R. F. Collins III Excel Discussion (Misc queries) 1 August 6th 09 06:48 PM
Problems when using macro created in Excel 2000, in Excel 2003 Vlada Excel Programming 2 July 27th 06 04:24 PM
Problems using Excel 2000 to open/save file saved in Excel 2003 [email protected] Excel Discussion (Misc queries) 1 June 29th 05 02:50 AM
Problems merging an excel file due to code or file problems? Cindy M -WordMVP- Excel Programming 0 September 14th 04 02:58 PM


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