+ Reply to Thread
Results 1 to 5 of 5

DOS command using excel VBA with virus threat warning

  1. #1
    Registered User
    Join Date
    07-19-2021
    Location
    lon
    MS-Off Ver
    2010, 2019
    Posts
    6

    DOS command using excel VBA with virus threat warning

    Hello,

    I try to execute a dos command using excel VBA, and I got a virus threat warning:
    Please Login or Register  to view this content.
    and excel is closed automatically.

    Any idea, how to avoid?

    thx
    tom
    Last edited by Paul; 07-19-2021 at 02:42 PM. Reason: Added CODE tags

  2. #2
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    21,275

    Re: DOS command using excel VBA with virus threat warning

    What is your antimalware software?
    Jeff
    | | |?| |?| |?| |?| | |:| | |?| |?|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    21,275

    Re: DOS command using excel VBA with virus threat warning

    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.

  4. #4
    Registered User
    Join Date
    07-19-2021
    Location
    lon
    MS-Off Ver
    2010, 2019
    Posts
    6

    Re: DOS command using excel VBA with virus threat warning

    it is "Microsoft Defender Antivirus" on 21H1

  5. #5
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    21,275

    Re: DOS command using excel VBA with virus threat warning

    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Password protected sheet, command button and anti-virus?
    By Joe_WJ in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-22-2021, 10:11 AM
  2. Warning, DoneEX excel compliler infected with malicious Virus.
    By dentler in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2017, 09:18 PM
  3. Virus scanner nuking module?? Not a threat, I swear!
    By Ouka in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-23-2015, 02:18 AM
  4. Virus Alert Warning in posts searched through Google
    By Saarang84 in forum Suggestions for Improvement
    Replies: 26
    Last Post: 08-17-2014, 11:32 PM
  5. Exporting .bas file causes Virus warning
    By Uziel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-11-2012, 08:51 AM
  6. Replies: 5
    Last Post: 11-27-2009, 12:47 PM
  7. Replies: 3
    Last Post: 08-03-2009, 01:20 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1