ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Object error when using Excel in IE (https://www.excelbanter.com/excel-programming/370753-object-error-when-using-excel-ie.html)

mat

Object error when using Excel in IE
 
I have a simple spreadsheet that has a button that opens up a dataform (an
add-in) to allow users to enter data.

The dataform when called uses ActiveCell and ActiveSheet to check some
ranges and for protection.

When running this through IE (called via a link on our intranet) it does not
appear that the global objects ActiveCell and ActiveSheet are being populated
and I get an object error 91 when trying to look at these.

If I open and use the sheet with excel this all works fine.

I thought that it might be a problem with the add-in dataform but even my
calling spreadsheet gets nothing when looking at ActiveCell

I have had some success by trying to fully qualify the path etc. but
ActiveCell is just not set however I try and get at it.

Has anybody encountered this? it looks like a bug to me.

Alternatively can you suggest another way of accessing/determining the
activecell of a sheet.

Thanks,

Mat

Some code:






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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com