98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Excel Crashes
Excel Crashes
Resolved · Low Priority · Version 2003
Harry has attended:
Excel VBA Intro Intermediate course
Excel Crashes
I've got a program that writes an array formula to 24000+ records one column at at time, then hard pastes it before moving to the next column. If I execute the program one line at a time using the F8 key it runs but if I run it in the normal way it crashes.
RE: Excel Crashes
Hi Harry
Without seeing the code and observing the crash as it happens I cannot give a reason why it is doing it.
Please send me a copy of the workbook to
forum AT microsofttraining,net
Regards
Carlos
RE: Excel Crashes
Thanks for your response Carlos. I suspect that the problem is that the file is just too big (although I would have thought that it would also crash on debugging).
I've sent the code to the email above for your attention.
The data in the worksheet is part of a large download from a relational database and contains 4 separate tables, pupils on roll, pupils off roll, attendance data on pupils on roll and attendane data of pupils off roll.
The macro takes the field required from the pupils on roll data and puts it in the output sheet and then appends the equivalent columns from the pupils off roll table. It then adds in both the attendance tables to the 'all absence' sheet.
all of the above runs fine. The problem occurs when the macro copies an array formula down a column of data. This takes place in the do while loop contained in the add_absence macro.
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Activating the formula bar with the keyboard in Excel 2010The formula bar in Excel 2010 contains a number of different formulas. However, it is time consuming to open the formula bar every time and insert the formula using the mouse. Instead, you can activate the formula bar with the keyboard. Simply press the F2 button on the keyboard then the information in the cell will expand allowing you to edit the information in the cell. |