Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default userform program keeps crashing

I am working on a Testing program for the students in my class. I have used Excel UserForms to create the platform for them to take the tests on. While working in Excel I have encountered many problems with Excel including the program Not Responding when I attempt to save the file. I have just been dealing with this and moving on. Now I am at the point where the program will allow me to make changes, yet when I attempt to save the file I receive an error message as follows:

"Errors were detected while saving 'C:\Users\Clerks\Desktop\Clerk\ConceptReviews\User formReviews.xlsm'. Microsoft Excel may be able to save the file by removing or repairing some features. To make the repairs in a new file, click Continue. To cancel saving the file, click Cancel."

I am familiar with this error message and have dealt with it many times before, but now it will not allow me to save at all, telling me that the file is corrupt, and Excel tried to salvage some of my formulas and formatting. When I open the file that Excel saves to my desktop it has completely erased all VBA UserForms and coding. Essentially Excel is keeping me from saving my file at all. Are there any suggestions of what I may do to eradicate this problem fully, or any ideas about how I may be able to move forward? I have many hours invested in this program and would like to salvage it, if at all possible. I am running Windows 7 as well as Office 2007. I have plenty of RAM and the problem is not restricted to the current machine I am using.. I have transferred the file to multiple machines with the same end result every time. Thank you for any and all help and suggestions.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default userform program keeps crashing

On 09/01/2015 13:53, wrote:

I am working on a Testing program for the students in my class. I have used Excel UserForms to create the platform for them to take the tests on. While working in Excel I have encountered many problems with Excel including the program Not Responding when I attempt to save the file. I have just been dealing with this and moving on. Now I am at the point where the program will allow me to make changes, yet when I attempt to save the file I receive an error message as follows:

"Errors were detected while saving 'C:\Users\Clerks\Desktop\Clerk\ConceptReviews\User formReviews.xlsm'. Microsoft Excel may be able to save the file by removing or repairing some features. To make the repairs in a new file, click Continue. To cancel saving the file, click Cancel."

I am familiar with this error message and have dealt with it many times before, but now it will not allow me to save at all, telling me that the file is corrupt, and Excel tried to salvage some of my formulas and formatting. When I open the file that Excel saves to my desktop it has completely erased all VBA UserForms and coding. Essentially Excel is keeping me from saving my file at all. Are there any suggestions of what I may do to eradicate this problem fully, or any ideas about how I may be able to move forward? I have many hours invested in this program and would like to salvage it, if at all possible. I am running Windows 7 as well as Office 2007. I have plenty of RAM and the problem is not restricted to the current machine I am using. I have transferred the file to multiple machines with the same end result every time. Thank you for any and all help and suggestions.

If it is XL2007 and you happen to use the wrong features unfortunately
it can sometimes corrupt itself spontaneously. Although I have to say
that user error of some sort is still the more likely cause.

I have only ever had bother with making charts from VBA faster than the
axes could be defined but I expect there are other "interesting" race
conditions lurking and userforms would be another likely candidate.
(this was old code that had worked perfectly from XL97 onwards)

It is worth making sure you have XL2007 fully patched and up to date -
the original out of the box version was truly diabolical.

I hope you have some backups. It is always worth keeping incremental
versions when modifying a complex project. Otherwise you stand to lose a
lot of work if something goes catastrophically wrong.

Best I can suggest is let it save what it can to a new filename and then
open the original and new files and copy an paste the code modules and
other components over from one to the other. If you are very lucky it
will be possible to at least move the VBA code and perhaps all of the
missing components into the resurrected new file.

--
Regards,
Martin Brown
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default userform program keeps crashing

Are you attempting to save while the userform is running? Bad idea!

Why are you using a userform? Can this 'test' not be configured to work
on a sheet?

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default userform program keeps crashing

There could be several reasons but without seeing your workbook and project
could only throw guesses. The file might already be corrupt, or something
else adds corruption afresh, or something related to the what your code is
doing triggers the problem.

Why not upload a non sensitive file to a file sharing site, check the
problem occurs with the uploaded file and give instructions for others to
recreate the problem.

Regards,
Peter T


wrote in message
...
I am working on a Testing program for the students in my class. I have used
Excel UserForms to create the platform for them to take the tests on. While
working in Excel I have encountered many problems with Excel including the
program Not Responding when I attempt to save the file. I have just been
dealing with this and moving on. Now I am at the point where the program
will allow me to make changes, yet when I attempt to save the file I receive
an error message as follows:

"Errors were detected while saving
'C:\Users\Clerks\Desktop\Clerk\ConceptReviews\User formReviews.xlsm'.
Microsoft Excel may be able to save the file by removing or repairing some
features. To make the repairs in a new file, click Continue. To cancel
saving the file, click Cancel."

I am familiar with this error message and have dealt with it many times
before, but now it will not allow me to save at all, telling me that the
file is corrupt, and Excel tried to salvage some of my formulas and
formatting. When I open the file that Excel saves to my desktop it has
completely erased all VBA UserForms and coding. Essentially Excel is keeping
me from saving my file at all. Are there any suggestions of what I may do to
eradicate this problem fully, or any ideas about how I may be able to move
forward? I have many hours invested in this program and would like to
salvage it, if at all possible. I am running Windows 7 as well as Office
2007. I have plenty of RAM and the problem is not restricted to the current
machine I am using. I have transferred the file to multiple machines with
the same end result every time. Thank you for any and all help and
suggestions.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default userform program keeps crashing

On Friday, January 9, 2015 at 5:53:32 AM UTC-8, wrote:
I am working on a Testing program for the students in my class. I have used Excel UserForms to create the platform for them to take the tests on. While working in Excel I have encountered many problems with Excel including the program Not Responding when I attempt to save the file. I have just been dealing with this and moving on. Now I am at the point where the program will allow me to make changes, yet when I attempt to save the file I receive an error message as follows:

"Errors were detected while saving 'C:\Users\Clerks\Desktop\Clerk\ConceptReviews\User formReviews.xlsm'. Microsoft Excel may be able to save the file by removing or repairing some features. To make the repairs in a new file, click Continue. To cancel saving the file, click Cancel."

I am familiar with this error message and have dealt with it many times before, but now it will not allow me to save at all, telling me that the file is corrupt, and Excel tried to salvage some of my formulas and formatting.. When I open the file that Excel saves to my desktop it has completely erased all VBA UserForms and coding. Essentially Excel is keeping me from saving my file at all. Are there any suggestions of what I may do to eradicate this problem fully, or any ideas about how I may be able to move forward? I have many hours invested in this program and would like to salvage it, if at all possible. I am running Windows 7 as well as Office 2007. I have plenty of RAM and the problem is not restricted to the current machine I am using. I have transferred the file to multiple machines with the same end result every time. Thank you for any and all help and suggestions.



Thank you, Martin. That is what I did, and it worked really well!
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
running program from userform davegb Excel Programming 10 November 2nd 06 04:57 PM
excel keeps crashing when starting the program jblake48 Excel Discussion (Misc queries) 1 October 11th 06 05:19 PM
Userform crashing excel Jason Zischke Excel Programming 2 August 31st 06 07:23 AM
tab in userform locks program bruce forster Excel Programming 6 April 30th 04 11:01 PM
Can I program a userform via spreadsheet? Phillips Excel Programming 2 November 27th 03 04:11 AM


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