|
-
Dec 15th, 2019, 03:48 AM
#1
Thread Starter
Addicted Member
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?
-
Dec 15th, 2019, 06:24 AM
#2
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
-
Dec 16th, 2019, 09:20 AM
#3
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
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|