Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Excel crashes with a WebBrowser in it

I'm using Excel 2003 and IE6 (although I've verified that this still happens
with IE7).

I have a spreadsheet with a WebBrowser control on it. When one of the form
elements on the web page within the WebBrowser has focus, Excel crashes when
you switch to a different sheet.

Steps to reproduce:
- Create a blank spreadsheet
- Switch to design mode in the Control Toolbox
- Add a Microsoft Web Browser control to the page
- Add a command button to the page
- In the click event for the button, add:
WebBrowser1.Navigate "www.msn.com"
- Get out of design mode and click the button
- Click in the text box at the top of the web page
- Switch to Sheet2 or Sheet3
- Excel will throw an error

I've tested on two computers (Windows XP SP2 with latest updates as of
yesterday) with the same results. Have also tried using Navigate2 instead of
Navigate.

Thanks,
Kyle
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 call an Excel VBA function from within a WebBrowser control? John Brock Excel Discussion (Misc queries) 0 October 20th 09 02:16 AM
Opeing Excel and Word documents in a WebBrowser Form Karim Benabd Excel Programming 0 August 31st 06 05:14 PM
excel webbrowser Mark HOlcomb Excel Programming 2 June 18th 06 03:24 PM
webbrowser - excel - modifications [email protected] Excel Discussion (Misc queries) 1 January 26th 06 04:31 AM
How to open an Excel worksheet in the webBrowser control Gary Excel Programming 0 April 30th 04 05:29 PM


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