LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Activeworkbook and Internet Explorer

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.

BobT wrote:

I have a workbook that gets opened via Internet Explorer. When this happens
and the user does not have Excel already running, Excel launches within IE.
The user then clicks on a button to bring up a form. They make some
selections and then click on a button that takes their selections and posts
it to a given sheet.

The problem is that although the correct workbook is shown and the form
loads properly, when it tries to post the selections back to the book, it
thinks that Book1 is the activebook and no matter what I put into the form
(e.g. Application.Workbooks("MyBook").Activate, etc.) it never activates that
book and so it fails to write back teh results where it should.

The code works flawlessly when run from within native Excel. Does anyone
know how to tell Excel that is within IE to activate another book?


--

Dave Peterson
 
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
Internet Explorer da Excel Discussion (Misc queries) 4 October 9th 08 09:31 PM
Internet explorer download/XP Pro?? Maxwell-5000 Excel Discussion (Misc queries) 1 January 3rd 06 10:03 PM
Internet explorer problem Dave Peterson Excel Discussion (Misc queries) 0 January 24th 05 11:02 PM
internet explorer doris Excel Discussion (Misc queries) 1 January 5th 05 09:44 PM
internet explorer (ie) issue with activeworkbook.saved (save prompt) AAARGH. Darren Lord Excel Programming 0 September 17th 03 09:27 AM


All times are GMT +1. The time now is 02:05 PM.

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"