Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Stop Symantec AV from quarantine my VBA

Excel 2003 up to date

What type of commands in Excel VBA does NAV assume relate to the Bloodhound
Macro Virus.

I assume that it does not like any command that deletes files - but there
may be others.

Can anyone help me strip my Personal.xls of VBA commands which causes NAV to
delete the file?

Any ideas? Plea..........se!

EagleOne
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Stop Symantec AV from quarantine my VBA

It dislikes any use of the VBIDE extensibility - changing code with code is a hallmark of document
viruses. You can set NAV Bloodhound feature to ignore certain files or folders - not sure how, but
my IT department was able to protect my files from being deleted.

HTH,
Bernie
MS Excel MVP


"EagleOne@microsoftdiscussiongroups" crosoft.com
wrote in message ...
Excel 2003 up to date

What type of commands in Excel VBA does NAV assume relate to the Bloodhound
Macro Virus.

I assume that it does not like any command that deletes files - but there
may be others.

Can anyone help me strip my Personal.xls of VBA commands which causes NAV to
delete the file?

Any ideas? Plea..........se!

EagleOne



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Stop Symantec AV from quarantine my VBA

Thanks Bernie.

My IT department makes no exceptions, so far.

Would you mind being a bit more specific changing code with code; just
an example or two.

Further, I will demonstrate my relative VBA inexperience as to - VBIDE
extensibility?

I thought the problem was related to file delete commands.

"Bernie Deitrick" wrote:

It dislikes any use of the VBIDE extensibility - changing code with code is a hallmark of document
viruses. You can set NAV Bloodhound feature to ignore certain files or folders - not sure how, but
my IT department was able to protect my files from being deleted.

HTH,
Bernie
MS Excel MVP


"EagleOne@microsoftdiscussiongroups" crosoft.com
wrote in message ...
Excel 2003 up to date

What type of commands in Excel VBA does NAV assume relate to the Bloodhound
Macro Virus.

I assume that it does not like any command that deletes files - but there
may be others.

Can anyone help me strip my Personal.xls of VBA commands which causes NAV to
delete the file?

Any ideas? Plea..........se!

EagleOne




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Stop Symantec AV from quarantine my VBA

You can use code like this to add VBA code to a workbook:

Sub AddMeanModuleAndWickedProcedure()

Dim newVBComp As VBComponent
Set newVBComp = ActiveWorkbook.VBProject.VBComponents.Add(vbext_ct _StdModule)
newVBComp.Name = "ReallyDangerousCode"

With newVBComp.CodeModule
.InsertLines .CountOfLines + 1, _
"Sub myKillerSub()" & Chr(13) & _
" Msgbox ""Hello There, I'm about to destroy your computer.... HA HA HA HA!!!!"" "
& Chr(13) & _
"End Sub"
End With
End Sub

It requires a reference to the MS VBA Extensibility X.X (Sorry, I mis-spoke when I said VBIDE
Extensibility) to work, and this was the basis of that Word virus that made headlines 5 years or so
ago. You can see where adding code to workbooks can be problematic, especially if the code is
written in a way that it writes itself into all open workbooks, which then write code to....

Bloodhound may also look for file deletion or kill commands.. I'm not certain of what it looks for,
but I lost lots of code like that above when I was writing a utility that would update the code in
files created from a template....

HTH,
Bernie
MS Excel MVP


"EagleOne@microsoftdiscussiongroups" rosoft.com
wrote in message ...
Thanks Bernie.

My IT department makes no exceptions, so far.

Would you mind being a bit more specific changing code with code; just
an example or two.

Further, I will demonstrate my relative VBA inexperience as to - VBIDE
extensibility?

I thought the problem was related to file delete commands.

"Bernie Deitrick" wrote:

It dislikes any use of the VBIDE extensibility - changing code with code is a hallmark of
document
viruses. You can set NAV Bloodhound feature to ignore certain files or folders - not sure how,
but
my IT department was able to protect my files from being deleted.

HTH,
Bernie
MS Excel MVP


"EagleOne@microsoftdiscussiongroups"
crosoft.com
wrote in message ...
Excel 2003 up to date

What type of commands in Excel VBA does NAV assume relate to the Bloodhound
Macro Virus.

I assume that it does not like any command that deletes files - but there
may be others.

Can anyone help me strip my Personal.xls of VBA commands which causes NAV to
delete the file?

Any ideas? Plea..........se!

EagleOne






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Stop Symantec AV from quarantine my VBA

Outstanding answer!! Thanks

"Bernie Deitrick" wrote:

You can use code like this to add VBA code to a workbook:

Sub AddMeanModuleAndWickedProcedure()

Dim newVBComp As VBComponent
Set newVBComp = ActiveWorkbook.VBProject.VBComponents.Add(vbext_ct _StdModule)
newVBComp.Name = "ReallyDangerousCode"

With newVBComp.CodeModule
.InsertLines .CountOfLines + 1, _
"Sub myKillerSub()" & Chr(13) & _
" Msgbox ""Hello There, I'm about to destroy your computer.... HA HA HA HA!!!!"" "
& Chr(13) & _
"End Sub"
End With
End Sub

It requires a reference to the MS VBA Extensibility X.X (Sorry, I mis-spoke when I said VBIDE
Extensibility) to work, and this was the basis of that Word virus that made headlines 5 years or so
ago. You can see where adding code to workbooks can be problematic, especially if the code is
written in a way that it writes itself into all open workbooks, which then write code to....

Bloodhound may also look for file deletion or kill commands.. I'm not certain of what it looks for,
but I lost lots of code like that above when I was writing a utility that would update the code in
files created from a template....

HTH,
Bernie
MS Excel MVP


"EagleOne@microsoftdiscussiongroups" rosoft.com
wrote in message ...
Thanks Bernie.

My IT department makes no exceptions, so far.

Would you mind being a bit more specific changing code with code; just
an example or two.

Further, I will demonstrate my relative VBA inexperience as to - VBIDE
extensibility?

I thought the problem was related to file delete commands.

"Bernie Deitrick" wrote:

It dislikes any use of the VBIDE extensibility - changing code with code is a hallmark of
document
viruses. You can set NAV Bloodhound feature to ignore certain files or folders - not sure how,
but
my IT department was able to protect my files from being deleted.

HTH,
Bernie
MS Excel MVP


"EagleOne@microsoftdiscussiongroups"
crosoft.com
wrote in message ...
Excel 2003 up to date

What type of commands in Excel VBA does NAV assume relate to the Bloodhound
Macro Virus.

I assume that it does not like any command that deletes files - but there
may be others.

Can anyone help me strip my Personal.xls of VBA commands which causes NAV to
delete the file?

Any ideas? Plea..........se!

EagleOne








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop Changes joesf16 Excel Discussion (Misc queries) 8 August 22nd 07 06:04 PM
How To Stop #Div DAI via OfficeKB.com Excel Worksheet Functions 3 November 27th 06 12:52 PM
Stop (C) becoming © fullers Excel Discussion (Misc queries) 2 May 3rd 06 11:16 AM
How do I stop other circles in other cells to stop selecting? stauff Excel Worksheet Functions 2 October 29th 04 09:02 PM
How do I stop other circles in other boxes to stop selecting? stauff Excel Worksheet Functions 1 October 28th 04 10:27 PM


All times are GMT +1. The time now is 06:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"