How to make Excel 2003 GPF
Yes, apparently this is still possible to do on cue. The attached file will do it and here's how:
- Click the button and wait for the web page to load
- Switch to either Sheet2 or Sheet3
That's it, kiddies. You're very own spreadsheet that politely asks if it can send details on your porn collection to Microsoft when it crashes.
Info on the spreadsheet for you paranoid delusionals: It contains three sheets. Sheet1 contains a Microsoft Web Browser control and a command button. The other two sheets are blank.
It is free from virii to the best of my knowledge. There is a macro in it, the one that loads the web page when you click the button. It's contents in their entirety are as follows:
Private Sub CommandButton1_Click()
WebBrowser1.Navigate2 "www.google.com"
End Sub
The GPF appears to occur only if an element on the web page you load has focus at the time you switch sheets. As luck would have it, the fine folks at Google set focus to the textbox for you when the page loads but if you substitute a different web page that doesn't do this, you won't get the error unless you click in a textbox first. Haven't tested with other form elements.
Enjoy! I know I did while researching this problem!