Results 1 to 3 of 3

Thread: What marks xls document as malicious when oppened in Excel 16?

  1. #1

    Thread Starter
    Addicted Member kutlesh's Avatar
    Join Date
    Jun 2018
    Location
    Skopje, Macedonia
    Posts
    202

    What marks xls document as malicious when oppened in Excel 16?

    I collect data trough Excel document(xls, Excel 2000) and there are like 300 people across the country who fill these excel files and send them to me.

    I have an Access 2000 application that reads those 300 xls documents, but it fails to read some of them.
    When I open the faulty excel files in Excel 16, Excel 16 displays a red error message bar which states that there might be malicious scripts inside the xls file so it is oppenned in Protected View.

    What could be causing this problem? Why the files are marked as malicious?

    Can I somehow improve, and somehow handle this sort of error in Access 2000 when it parses them?

    Or just use VBA exception handling and print which files are faulty, and then open them manually in Excel 16 and save them as not malicious?

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: What marks xls document as malicious when oppened in Excel 16?

    how are you processing the .xls files?
    possibly you could use ADO to process the files, that should not care about any malicious intent

    it would seem a little strange that some can be processed and others can't, do the exceptions possibly have some macro code?
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,537

    Re: What marks xls document as malicious when oppened in Excel 16?

    It sounds like there's VBA code that's being embedded into those files that's set to auto run or something. There could be something on their system that's running that's causing this issue. Your system is doing the right thing in stopping it from running.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width