Windows 10: OLE seems broken for Excel

Discus and support OLE seems broken for Excel in Windows 10 BSOD Crashes and Debugging to solve the problem; Posting this in Windows because I don't think it's an Office problem... I think it's an OLE problem. I can't seem to correctly embed an excel object... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by RadarKahler, Oct 18, 2019.

  1. OLE seems broken for Excel


    Posting this in Windows because I don't think it's an Office problem... I think it's an OLE problem. I can't seem to correctly embed an excel object into Word or PowerPoint. This broke a couple of days ago - it just shows up as an Icon instead of a spreadsheet like it used to. When I edit documents that I previously embedded spreadsheets into Word describes it as an "Unknown Object" and won't allow me to edit or open it, only gives me the option to Convert it (to an Unknown Object!). Anyway, it seems Windows forgot what an Excel Object is...

    :)
     
    RadarKahler, Oct 18, 2019
    #1
  2. Ma. Lau Win User

    Excel crashes while creating workbooks using OLE Automation when Microsoft Print to PDF is the default printer

    Hello Graham,

    To better assist you with crashing Excel when using OLE Automation concern, we would suggest you to re-post this query to
    MSDN forums.

    Regards.
     
    Ma. Lau, Oct 18, 2019
    #2
  3. Naresh_K Win User
    how do i get rid of OLE Initialzation failed make sure that OLE libraries are the current version

    Hi,



    Thank you for writing to Microsoft community forums.



    Object Linking and Embedding (OLE) is a proprietary technology developed by Microsoft that allows embedding and linking to documents and other objects. Before an application can use OLE system services, it must initialize the OLE system DLLs and verify
    that the DLLs are the correct version. Make sure that the service Windows Modules Installer is running. To check if the service is running, please follow the steps mentioned below:



    1. Open Run dialog (press Windows key + R).
    2. Then type: Services.msc and click on
      Okay
      .
    3. Then look for the service named Windows Modules Installer.



    For more information, you can refer to: OLE Initialization. If you need
    any further assistance, please write back with the following information:



    1. When do you get the above error?
    2. Is the issue specific to any application?
    3. Which version of Windows 10 is installed on your device?
    4. Are you aware of any recent changes that were made on your computer?


    Regards,
     
    Naresh_K, Oct 18, 2019
    #3
  4. ddelo Win User

    OLE seems broken for Excel

    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:
      Code:
      Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -force
    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. OLE seems broken for 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, Oct 18, 2019
    #4
Thema:

OLE seems broken for Excel

Loading...
  1. OLE seems broken for Excel - Similar Threads - OLE seems broken

  2. WMI seems to be broken or disabled.

    in Windows 10 Gaming
    WMI seems to be broken or disabled.: Hi. Running Windows 10 on an HP ZBook 17 G4. I was trying to download battle.net app. Went to their support and whittled it down to being an issue with WMI on my system. In MSInfo32 System Information, I get a "Can't Collect Information". When I go to winmgmt.msc > WMI...
  3. Bluetooth seems to be broken

    in Windows 10 Drivers and Hardware
    Bluetooth seems to be broken: Hi all,I'm not sure what happened but in the process of getting my new computer up and running and installing drivers bluetooth stopped functioning and disappeared from Device Manager. I've tried 'showing hidden devices' and reinstalling drivers from intel's website, but...
  4. Task Scheduler with Windows OLE Excel

    in Windows 10 Customization
    Task Scheduler with Windows OLE Excel: Hi, I got the code block in Perl below. I can run via Command and get the output result. When I add a Task Scheduler via my Remote Desktop machine and I'm not getting any result. I have Administrator on this system and below is my setting. I did some search and folks...
  5. OLE seems broken for Excel

    in Windows 10 BSOD Crashes and Debugging
    OLE seems broken for Excel: Posting this in Windows because I don't think it's an Office problem... I think it's an OLE problem. I can't seem to correctly embed an excel object into Word or PowerPoint. This broke a couple of days ago - it just shows up as an Icon instead of a spreadsheet like it...
  6. Bluetooth seems to be broken

    in Windows 10 Customization
    Bluetooth seems to be broken: System Specs CPU: AMD Ryzen 3600X Motherboard: Asus ROG STRIX B550-I Gaming GPU: NVIDIA 2070 Super RAM: 32 GB 3200Mhz Hi all, I'm not sure what happened but in the process of getting my new computer up and running and installing drivers bluetooth stopped functioning...
  7. Surface pro seems broken.

    in Windows 10 BSOD Crashes and Debugging
    Surface pro seems broken.: My surface pro seems to be broken. Its acting like its starting with the surface logo on the screen then it goes back to black screen. Plus its dokng this on a continuous loop. What can i do to fix this?...
  8. Microphone seem to be broken

    in Windows 10 Drivers and Hardware
    Microphone seem to be broken: This started yesterday, but my microphone suddenly stopped working. When I listen to the device, it's just constant white noise. I have no idea how to fix this. If I disable or mute the microphone, and I turn up the microphone volume on the speakers, I still hear white noise,...
  9. Calculator seems to be broken.

    in Windows 10 Software and Apps
    Calculator seems to be broken.: This is annoying... [img] Does anyone know of a fix yet? 5246
  10. Disk Cleanup seems to be broken

    in Windows 10 Performance & Maintenance
    Disk Cleanup seems to be broken: When I try to run it, it seems to do the job just fine. After, let it scan for files again, and you'll see that the 'Files to delete' are the same as before: nothing got deleted. Is there any way to reset Disk Cleanup? 104058