Hello,
I try to execute a dos command using excel VBA, and I got a virus threat warning:
and excel is closed automatically.Please Login or Register to view this content.
Any idea, how to avoid?
thx
tom
Hello,
I try to execute a dos command using excel VBA, and I got a virus threat warning:
and excel is closed automatically.Please Login or Register to view this content.
Any idea, how to avoid?
thx
tom
Last edited by Paul; 07-19-2021 at 02:42 PM. Reason: Added CODE tags
What is your antimalware software?
BTW your code does not clear cache, it clears the clipboard. If all you are trying to do is clear the clipboard you can do this:
Please Login or Register to view this content.
it is "Microsoft Defender Antivirus" on 21H1
I also got an alert using MalwareBytes. Although the command itself is benign it probably uses some type of back-door exploit that could be used for malicious purposes. You might be able to configure Defender to allow it, but I don't know how.
Also see my other post for an alternative, if all you are trying to do it clear the clipboard.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks