Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Excel opened in IE

Status
Not open for further replies.

MJPPaba

MIS
May 28, 2003
142
GB
Hi all,

Using Excel 2K & IE v6, I have built a workbook that works beautifully in native excel. However when I run the process via the web using my IE browser, it opens an embedded version of excel in IE and execute almost all the code apart from the last few lines.

Here is the code that is going wrong...

Range("A1").Select
Application.DisplayAlerts = False
Sheets("Employee").Delete

It fails on line 2. the error mesage is...
Runtime error 1004
method 'display alerts' of object 'application' failed

any ideas?

Matt
 
problem solved. file typ e has an option to open in same window, I deselected this and it now opens in excel proper.

cheers
anyway.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top