MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Apr 15th, 2002, 04:21 AM   #1
MrExcel
.
 
MrExcel's Avatar
 
Join Date: Feb 2002
Location: Akron, Ohio USA
Posts: 789
Default

Here is an interesting problem. An Excel workbook with numerous userforms crashed on a particular PC. After rebooting, that PC could no longer open the workbook.

Another laptop could open the workbook OK.

On the original PC, we uninstalled and re-installed office. Still the same problem.

Upon further testing, it seems to be that any Workbook which has userform controls is taking forever to load on the original PC.

Any ideas?

Thanks

Bill
__________________
Preview my latest book for Free
MrExcel is offline   Reply With Quote
Old Apr 15th, 2002, 08:02 AM   #2
Mark O'Brien
MrExcel MVP
 
Mark O'Brien's Avatar
 
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
Default

I know that some people may have an idea if you state the versions and OS.

The only thing I can think of with userforms crashing Excel is if one of the forms references an invalid control. e.g.

http://support.microsoft.com/search/...;en-us;Q231081

Was the workbook originally created on this machine that crashed?

_________________
[b] Mark O'Brien

[ This Message was edited by: Mark O'Brien on 2002-04-15 07:19 ]
Mark O'Brien is offline   Reply With Quote
Old Apr 15th, 2002, 07:43 PM   #3
thelumberyard
New Member
 
Join Date: Apr 2002
Posts: 2
Default

Re: PC running WInME, excel 2000. File with many userforms & controls crashed, upon reboot, Excel takes several minutes to load file and similar files more than a year old, Creating new file with four command buttons and a couple lines of code, takes fifteen seconds to load & close. Command buttons take several seconds to appear on the sheet. Excel was reinstalled, Registry cleaner run, still same problem. Files run fine on another system. Any ideas?
thelumberyard is offline   Reply With Quote
Old Apr 15th, 2002, 11:17 PM   #4
Mood
New Member
 
Join Date: Mar 2002
Location: Manitoba, Canada
Posts: 22
Default

Have you tried to erase all the temp files in the Windows temp directory, and then run a scandisk on your hard drive for any file corruption... Just a thought.
Peter
Mood is offline   Reply With Quote
Old Apr 16th, 2002, 08:48 PM   #5
thelumberyard
New Member
 
Join Date: Apr 2002
Posts: 2
Default

Mood/Peter - Your suggestion to clean out the temp file seems to have worked. I had thousands of small image files of controls and a couple of temp files of the program in the temp file. Many thanks!
-Mike Robinson
thelumberyard is offline   Reply With Quote
Old Apr 17th, 2002, 04:50 AM   #6
MrExcel
.
 
MrExcel's Avatar
 
Join Date: Feb 2002
Location: Akron, Ohio USA
Posts: 789
Default

Quote:
On 2002-04-15 22:17, Mood wrote:
Have you tried to erase all the temp files in the Windows temp directory,Peter
Interesting. Wow. Looking my Windows / Temp directory, I have small .emf files of 200 controls, plus some company logos. I recognize most of these as controls from various Excel files that I have opened.

Why does Excel write these out there? I am not having a problem with the 200, but it must cause a problem when you get to 1000+.

Does anyone have more information on this?

Bill
__________________
Preview my latest book for Free
MrExcel is offline   Reply With Quote
Old Apr 17th, 2002, 10:31 AM   #7
James
Board Regular
 
Join Date: Feb 2002
Location: Huntington Beach, CA USA
Posts: 327
Default

I had numerous files that would take up to15 min to open and the same amount of time to close. I read this board every day and
came across a post of someone in the group having the same problem. Someone suggested
deleting the "emf" files in the temp dir.
I found over 3,000 "emf" files....deleted
and the files now open like they should?

This board and the people involved are great

James

James is offline   Reply With Quote
Old Apr 17th, 2002, 11:57 AM   #8
Mood
New Member
 
Join Date: Mar 2002
Location: Manitoba, Canada
Posts: 22
Default

I think the main reason for all the temp files in XL (just opening a blank sheet drops 12 files here), is for speed. This same principle is used as the cache in Internet Explorer. It is faster to look for the files in the temp folder than it is to recalculate the files again.

As for any limit, I feel you can get to a certain limit, and it would take longer to find the files (due to file fragmentation) than to redo them from scratch. This is why I erase all my temp files.

Also,when XL crashes, it can’t delete the files, so you are left with garbage in this folder. Just a thought…

Peter

[ This Message was edited by: Mood on 2002-04-17 10:59 ]
Mood is offline   Reply With Quote
Old Apr 17th, 2002, 03:47 PM   #9
Jack in the UK
Board Regular
 
Join Date: Feb 2002
Posts: 3,065
Default

hi gues as Bill MeExcel has posted this i was surprised but wanted to offer some advice.

Bill tmp file in internet or windows temp you can delete any OP regardless Win will rebuild in a snap if they are needed, as you know Ivan offer autoexec.bat code to del this dir on boot.

Me i like to keep em so i can see em, remv as needs be ie once a week after a looks see,

enf files are different they are built to allow files to build often after crashes kinda like chk after scan disk and also -*. no dos extentions reports as .file or 99 file if pirate sware .. these are from dirty memory and poor saves open 2 click shoul SHOULD open excel to open these xls docs.. ok kinda recovery..

Windows being tricky i guess..

all in all i say its windows talking with excel correctly and excel chattin to windows OK, they do this.
Windows as you know is complex like in VBA you write code A Dave Hawley code B and Icvan code C Aladin pops in a nd formulas that code.. whats best???


Depends what tyouneed and what you can maintain...


any help

__________________
Free Excel based Web Toolbar available here.

Jack in the UK
J & R Excel Solutions
"making Excel work for you"
Jack in the UK is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes