Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Error Help Needed On MyForm.Show

We have a worksheet that was working fine, then all of a sudden started
crashing with a very generic error, something like, "Excel has produced an
error and will close."

The workbook opens on a worksheet with just one button showing. The button
has 1 very simple line of code: Pricing.Show.

The user form "Pricing" has no initialization code of any kind, yet it now
crashes today, Monday, when it didn't crash Friday. If the VB Editor is
open, it doesn't crash and the user form opens fine. Go figure!

The error can not be trapped. It happens immediately after the button is
pushed. The Call Stack shows "(non-basic code)". What's running between the
Click event and the Show method?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default Error Help Needed On MyForm.Show

victorcamp,

In the VBE, ToolsOptionGeneral and selecting "Break in Class Modules" will
include debugging inside the form. If you haven't already selected that, it
should help you see the error.

hth,

Doug

"victorcamp" wrote in message
...
We have a worksheet that was working fine, then all of a sudden started
crashing with a very generic error, something like, "Excel has produced an
error and will close."

The workbook opens on a worksheet with just one button showing. The button
has 1 very simple line of code: Pricing.Show.

The user form "Pricing" has no initialization code of any kind, yet it now
crashes today, Monday, when it didn't crash Friday. If the VB Editor is
open, it doesn't crash and the user form opens fine. Go figure!

The error can not be trapped. It happens immediately after the button is
pushed. The Call Stack shows "(non-basic code)". What's running between
the Click event and the Show method?



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
Urgently help needed - dropdown box does not show up bau Excel Discussion (Misc queries) 1 March 10th 08 06:45 PM
Formula needed to show the second to last figure in range of cells Sarah (OGI) Excel Worksheet Functions 3 August 2nd 07 08:04 AM
Show decimals only when needed betany70 Excel Discussion (Misc queries) 3 July 25th 07 03:22 PM
How to glance at other workbook while remaining in MyForm.Listbox? count Excel Programming 0 November 7th 05 06:09 AM
in a excel file, how to make a menu item for the .xls file that when clicked on it runs myform.show? example plz Daniel Excel Worksheet Functions 1 July 7th 05 03:52 AM


All times are GMT +1. The time now is 07:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"