Windows 10: Excel

Discus and support Excel in Windows 10 BSOD Crashes and Debugging to solve the problem; When I try to bring up Excel, I get an error message that says "Excel has run into an error that is preventing it from running properly." When I... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by RensleyGron, Jun 29, 2020.

  1. Excel


    When I try to bring up Excel, I get an error message that says "Excel has run into an error that is preventing it from running properly." When I engage the "Repair Now" button, the program closes down, having done nothing to repair. I have no idea how this occurred. The last time I was on Excel was about June 16th, only a couple of weeks ago! I am on Windows 10. My Surface Pro 2 was bought in 2014. Any suggestions will be appreciated.

    :)
     
    RensleyGron, Jun 29, 2020
    #1
  2. ddelo Win User

    Export All Administrative Events to Excel

    To analyze events, from the Windows Event Viewer, there is a simple way to export all Administrative Events to Excel, with PowerShell.

    Exporting all Administrative Events to Excel is a simple two Step process, as described here:

    Step 1 - Create the Administrative Events View .xml file
    1. Open Eventviewer (%windir%\system32\eventvwr.msc)
    2. Navigate to: Event Viewer (Local) > Custom Views > Administrative Events
    3. In the “Actions” pane select “Filter Current Custom View”.
    4. Select the the XML tab.
    5. Press Ctrl+A to select all the XML code of the Custom View.
    6. Open a notepad, paste the selected code and save the file to your Desktop as AdmEvtView.xml


    Step 2 - Create the csv file with the events
    1. Download the ExportEvtCSV.zip file, which contains the script ExportEvtCSV.ps1 and unzip it, on your Desktop.
      It's not a fancy script, just basic PowerShell commands to create a csv file on the Desktop.
    2. In Windows Search, type “ISE” (without the quotes) to open “Windows PowerShell ISE” and Run as administrator
    3. To allow running the script, change the ExecutionPolicy, for this session. To do that, in the Console pane type:
      Code:
    4. In the Windows PowerShell ISE, open and run the script: ExportEvtCSV.ps1
      The script will create a csv file with a name YYYYMMDD.HHMM.csv on the Desktop
    5. When done, open the newly created .csv file, format the columns as needed and optionally save it as .xlsx, if you wish.
    That’s it! You now have all the Administrative Events in Excel for filtering and further analysis. Excel :)

    Now to the more technical hard stuff... *Confused

    There is a reason for running the script from within PowerShell ISE!

    It would be great if everything was also working perfectly, when running the script from an elevated PowerShell too.

    We can run it from an elevated PowerShell, which means that you just follow the Step 1, as above but for the Step 2 instead of the ISE you run the script from an elevated PowerShell.

    The problem is that it will work only for anybody who has en-US format for the dates. Everyone else, who has another format (i.e. en-GB, fr-FR, el-GR etc.), the dates are not translated properly by Excel (although the script uses the –UseCulture switch) and remain as text in the en-US format.

    I'm not sure if this a bug of the "export-csv" cmdlet, but although it runs the way it supposed to from within the ISE, from PowerShell there is a problem with the dates format.
    As I haven’t found a way to overcome this obstacle, any suggestion from the PowerShell gurus of the forum (like my good friend Shawn @Brink, for instance), is welcome.
     
    ddelo, Jun 29, 2020
    #2
  3. dalchina Win User
    CSV files used to open in Excel....not now!

    Hi, you say Excel is installed. Does it run normally?

    You can't find Excel in (an unspecified) list of applications. I don't know which list that is for sure.

    For example, in the list related to:
    - rt click a file. Open With
    - this list:

    Excel [​IMG]

    - this list:

    Excel [​IMG]


    - some other list...

    If Excel does not appear in the above, I suggest you repair your office installation.

    Maybe the above gives you some ideas. Otherwise please post a screenshot of where you think you should see it but don't. Thanks.
     
    dalchina, Jun 29, 2020
    #3
  4. Excel

    Excel printing

    Hi Joseph,

    Thank you for posting your query in Microsoft Community.

    Does this issue only occur with Excel file or nay other files?

    Try to copy the excel file to the other drive and check if it is working?

    Run Print Troubleshooter

    The built-in Printer Troubleshooter can automatically detect and fix most of the incorrect settings and errors that could cause issues while printing. I would suggest you to run this troubleshooter to check if there is any issue with the sound. Refer
    top these steps:

    • Click on Troubleshooting and select the
      view all option on the left pane.
    • Click on Printer troubleshooter and follow the online instructions.

    If this doesn’t help. Try to repair the Microsoft Office Application.

    Do let us know if you have any other queries pertaining to Windows in the future. We will be happy to help.

    Thank you.
     
    SujataMoktan, Jun 29, 2020
    #4
Thema:

Excel

Loading...
  1. Excel - Similar Threads - Excel

  2. Need help with an excel document! Please!!

    in Windows 10 Gaming
    Need help with an excel document! Please!!: I've got an unsaved excel document on my laptop but now am unable to save it because my Microsoft subscription has expired. How can I keep all my work but log into a new Microsoft account rather than reactivating the old subscription?I've tried copying and pasting the...
  3. Need help with an excel document! Please!!

    in Windows 10 Software and Apps
    Need help with an excel document! Please!!: I've got an unsaved excel document on my laptop but now am unable to save it because my Microsoft subscription has expired. How can I keep all my work but log into a new Microsoft account rather than reactivating the old subscription?I've tried copying and pasting the...
  4. Can't shift click Excel files in File Explorer

    in Windows 10 Gaming
    Can't shift click Excel files in File Explorer: When I try to shift click to select multiple Excel files, it will freeze, and then only select the one file I shift clicked. This doesn't happen to pdfs, so I'm not sure what is going on. Any assistance would be greatly appreciated...
  5. Can't shift click Excel files in File Explorer

    in Windows 10 Software and Apps
    Can't shift click Excel files in File Explorer: When I try to shift click to select multiple Excel files, it will freeze, and then only select the one file I shift clicked. This doesn't happen to pdfs, so I'm not sure what is going on. Any assistance would be greatly appreciated...
  6. Continuing Problem Opening Excel and Files

    in Windows 10 Network and Sharing
    Continuing Problem Opening Excel and Files: Have been down this road 2xs. Excel and files won't open, win 10, always updated, already repaired/reinstalled excel 2xs, doing it again. What in the heck is going on? We PAY for this, it's not FREE. Was is there a fix or what? Seems stupid to have to do the same thing over...
  7. Continuing Problem Opening Excel and Files

    in Windows 10 Gaming
    Continuing Problem Opening Excel and Files: Have been down this road 2xs. Excel and files won't open, win 10, always updated, already repaired/reinstalled excel 2xs, doing it again. What in the heck is going on? We PAY for this, it's not FREE. Was is there a fix or what? Seems stupid to have to do the same thing over...
  8. Continuing Problem Opening Excel and Files

    in Windows 10 Software and Apps
    Continuing Problem Opening Excel and Files: Have been down this road 2xs. Excel and files won't open, win 10, always updated, already repaired/reinstalled excel 2xs, doing it again. What in the heck is going on? We PAY for this, it's not FREE. Was is there a fix or what? Seems stupid to have to do the same thing over...
  9. Excel save prompt issue after reinstallion of Windows 11-A pop up appears when I save my...

    in Windows 10 Gaming
    Excel save prompt issue after reinstallion of Windows 11-A pop up appears when I save my...: Hi,I am using Windows 11 and had to reinstall it yesterday due to issues with system updates. After the reinstallation, whenever I save Excel files, a prompt dialog box appears; the screenshot is pasted below. This never happened before the update. How can I prevent this...
  10. Excel save prompt issue after reinstallion of Windows 11-A pop up appears when I save my...

    in Windows 10 Software and Apps
    Excel save prompt issue after reinstallion of Windows 11-A pop up appears when I save my...: Hi,I am using Windows 11 and had to reinstall it yesterday due to issues with system updates. After the reinstallation, whenever I save Excel files, a prompt dialog box appears; the screenshot is pasted below. This never happened before the update. How can I prevent this...