+ Reply to Thread
Results 1 to 16 of 16

Excel has stopped working

  1. #1
    Registered User
    Join Date
    01-12-2016
    Location
    france
    MS-Off Ver
    2010
    Posts
    53

    Excel has stopped working

    Hello everyone,

    I turn to you
    I have an excel file containing macros that it works well on my pc but when I put it on my pc to my job macro works up to a certain time and puts me one excel window stopped working how to remedy this issue

    config:

    home office in 2016 and win 10
    win7 company has factory and office 2010 I think
    after you told me to be add before intermittently save her may be the solution?

    If so how to intermittently?

    Call to make a call?

    thank you in advance for your help

  2. #2
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Excel has stopped working

    Please post your macro by
    - pasting it into your reply
    - select the whole of the macro text and click on # to enclose it in code tags.
    thanks
    If a response has helped then please consider rating it by clicking on *Add Reputation below the post
    When your issue has been resolved don't forget to mark the thread SOLVED (click Thread Tools at top of thread)

  3. #3
    Registered User
    Join Date
    01-12-2016
    Location
    france
    MS-Off Ver
    2010
    Posts
    53

    Re: Excel has stopped working

    there she is :

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Excel has stopped working

    I have looked at the code and cannot see anything obvious that may be caused by Excel2010 to Excel2016 changes.
    I had this problem with one file running in Excel2010 that I created using 2016 - I found that it had the problem when I had a different Excel file open at the same time


    1. Was the file created on the home PC? Where were macros created?
    2. Do you get any error messages, or does it just stop responding?
    3. Does it stop responding when macro is running or afterwards?
    4. Does it do it always or just sometimes?
    5. Is the user using the file when it happens or is it just open?
    6. Are other files open when this file stops responding?
    Last edited by Kevin#; 04-12-2016 at 11:44 AM.

  5. #5
    Registered User
    Join Date
    01-12-2016
    Location
    france
    MS-Off Ver
    2010
    Posts
    53

    Re: Excel has stopped working

    1. Was the file created on the home PC? Where were macros created?
    yes that is the file created this house is what I have in my userform

    2. Do you get any error messages, or does it just stop responding?
    departing my userform appears well I get the data was put in the I click on the Register is that the Excel window appears stopped working

    3. Does it stop responding when macro is running or afterwards?
    if I click on close the program is responsible to find a solution but nothing final

    4. Does it do it always or just sometimes?
    it's all the time

    5. Is the user using the file when it happens or is it just open?
    I click on the file that opens properly I fill my fields of userform I click the button record and that's when the window arrives

    6. Are other files open when this file stops responding?
    not open other files at this time

    and those weird is that if I'm in the vba code and I'm doing that I test all my information fields this one works perfectly
    Last edited by ploz; 04-12-2016 at 12:20 PM.

  6. #6
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Excel has stopped working

    Can you attach the file - I will try it on Excel2010 and 2016
    I do not know if it will run properly French & English regional settings may cause a problem - but I could try

  7. #7
    Registered User
    Join Date
    01-12-2016
    Location
    france
    MS-Off Ver
    2010
    Posts
    53

    Re: Excel has stopped working

    can I have your email address to send it to you

  8. #8
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Excel has stopped working

    I have opened you file but it will not run because of the following error:

    Error.jpg

    but what is missing?

    Please check VBA/Tools/References
    Which references have "X" on your Excel?


    References.jpg


    thanks
    Last edited by Kevin#; 04-13-2016 at 05:22 AM.

  9. #9
    Registered User
    Join Date
    01-12-2016
    Location
    france
    MS-Off Ver
    2010
    Posts
    53

    Re: Excel has stopped working

    yes I this error when I pass a version has another I manage to solve this problem but it is when one generates an analysis form that the error happens

    excel.PNG

  10. #10
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Excel has stopped working

    I need to know -
    Which references have "X" in your references?
    ( VBA/Tools/References )

    Please list them for me ( or jpeg)

    thanks

  11. #11
    Registered User
    Join Date
    01-12-2016
    Location
    france
    MS-Off Ver
    2010
    Posts
    53

    Re: Excel has stopped working

    Here the reference I have to turn there are no doubts that are useless but seeing as I try to find the problem to avoid that this one still works

    references.PNG

  12. #12
    Registered User
    Join Date
    01-12-2016
    Location
    france
    MS-Off Ver
    2010
    Posts
    53

    Re: Excel has stopped working

    a solution to propose? ! ?

  13. #13
    Registered User
    Join Date
    01-12-2016
    Location
    france
    MS-Off Ver
    2010
    Posts
    53

    Re: Excel has stopped working

    no one ???

  14. #14
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Excel has stopped working

    @ploz -
    I have tried several things to get your code to run on both 2010 and 2016 without success.
    I suspect it is probably a language problem that is stopping the macros from running on my PC.

    One example of the lines it fails on:
    Please Login or Register  to view this content.
    - which is perfectly good code and works in other macros

    So I am sorry, I can do nothing.

    Good luck in finding a solution.
    Kevin

  15. #15
    Registered User
    Join Date
    01-12-2016
    Location
    france
    MS-Off Ver
    2010
    Posts
    53

    Re: Excel has stopped working

    ok thank you very much Kevin I hope to solve this problem especially his works very well for me ...

    However, if I have to add macro macro backup once it is run it might be can solve my problem, but I have no idea how to proceed

  16. #16
    Registered User
    Join Date
    01-12-2016
    Location
    france
    MS-Off Ver
    2010
    Posts
    53

    Re: Excel has stopped working

    Dim nomdeFichePDF As String
    Debug.Print Feuil2.numero_intervention.Value, Range("O11").Value <<<<< I will attempt to disable this line may be that the problems come from there
    nomdeFiche = "Ficheanalyse-" & Format(Now(), "yyyymmdd-hhmm") & ".pdf

    I would inform you of Evolution

    Best Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel Has Stopped Working
    By KevinNJ123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-07-2015, 05:01 PM
  2. Excel has stopped working
    By micklloyd in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-11-2014, 09:47 AM
  3. Excel Stopped Working
    By drozen in forum Excel General
    Replies: 2
    Last Post: 09-11-2014, 08:05 AM
  4. Excel VBA Program stopped working
    By cebbie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-20-2012, 07:12 AM
  5. Excel has stopped working?
    By Aland2929 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-28-2010, 03:00 AM
  6. why formulas have stopped working in Excel?
    By queenjude in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  7. excel 97 stopped working
    By john f in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-13-2005, 07:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1