Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
MikeB[_2_] MikeB[_2_] is offline
external usenet poster
 
Posts: 40
Default I screwed up - can I undo the damage?

OK, so first off, this might be slightly unbelievable - I myself might
not believe it if I read it in a newsgroup.
Computer
I'm at uni. and in my BCIS degree classes, there is a course on
Computer Security. For this course we look at security issues and
learn about all types of network attacks. We have a dedicated
computer Lab with an isolated network to work on.

One of the things we looked at was the code for the Melissa virus.
Then we were given instructions to write something similar as an
exercise. I figured I could see the parts where the virus were sending
out the emails, and that if I simply didn't write that part, I could
create/write the rest of the virus on my home computer and it'd be OK.

Unfortunately, some of the code in the virus disables the macro menu
options and a few other things, so now that I've run it once, I've
effectively disabled my Word. I cannot get back into the macro editor
to change the code or to stop the code from running when I open Word.
My original install disks are back home.

Are there ways to edit the registry to undo the changes or am I SOL?

Thanks.

I can post the code that I ran here, but thought it would be unwise to
do so.

As an aside, I'd like to kick the original author's ass (after kicking
my own, of course).
  #2   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default I screwed up - can I undo the damage?

Nice one. ;-)

Assuming the macro that starts the code when Word loads is in an AutoExec
macro, you should be able to prevent it from running by holding down the
Shift key while starting Word. That will let you go into the VBA editor and
disable the code.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

MikeB wrote:
OK, so first off, this might be slightly unbelievable - I myself might
not believe it if I read it in a newsgroup.
Computer
I'm at uni. and in my BCIS degree classes, there is a course on
Computer Security. For this course we look at security issues and
learn about all types of network attacks. We have a dedicated
computer Lab with an isolated network to work on.

One of the things we looked at was the code for the Melissa virus.
Then we were given instructions to write something similar as an
exercise. I figured I could see the parts where the virus were sending
out the emails, and that if I simply didn't write that part, I could
create/write the rest of the virus on my home computer and it'd be OK.

Unfortunately, some of the code in the virus disables the macro menu
options and a few other things, so now that I've run it once, I've
effectively disabled my Word. I cannot get back into the macro editor
to change the code or to stop the code from running when I open Word.
My original install disks are back home.

Are there ways to edit the registry to undo the changes or am I SOL?

Thanks.

I can post the code that I ran here, but thought it would be unwise to
do so.

As an aside, I'd like to kick the original author's ass (after kicking
my own, of course).



  #3   Report Post  
Posted to microsoft.public.word.newusers
MikeB[_2_] MikeB[_2_] is offline
external usenet poster
 
Posts: 40
Default I screwed up - can I undo the damage?

On Nov 12, 2:39 pm, "Jay Freedman" wrote:
Nice one. ;-)

Assuming the macro that starts the code when Word loads is in an AutoExec
macro, you should be able to prevent it from running by holding down the
Shift key while starting Word. That will let you go into the VBA editor and
disable the code.


I tried that, but it seems it has set some permanent options
somewhere, and it disabled the Options menu item on the toolbar.
  #4   Report Post  
Posted to microsoft.public.word.newusers
Terry Farrell Terry Farrell is offline
external usenet poster
 
Posts: 2,904
Default I screwed up - can I undo the damage?

Roll back to a Restore point prior to your boob.

--
Terry Farrell - MSWord MVP

"MikeB" wrote in message
...
On Nov 12, 2:39 pm, "Jay Freedman" wrote:
Nice one. ;-)

Assuming the macro that starts the code when Word loads is in an AutoExec
macro, you should be able to prevent it from running by holding down the
Shift key while starting Word. That will let you go into the VBA editor
and
disable the code.


I tried that, but it seems it has set some permanent options
somewhere, and it disabled the Options menu item on the toolbar.


  #5   Report Post  
Posted to microsoft.public.word.newusers
Klaus Linke Klaus Linke is offline
external usenet poster
 
Posts: 413
Default I screwed up - can I undo the damage?

"Jay Freedman" wrote:
Nice one. ;-)

Assuming the macro that starts the code when Word loads is in an AutoExec
macro, you should be able to prevent it from running by holding down the
Shift key while starting Word. That will let you go into the VBA editor
and disable the code.


Should be the Ctrl key?

Klaus



  #6   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default I screwed up - can I undo the damage?

On Fri, 14 Nov 2008 01:35:46 +0100, "Klaus Linke"
wrote:

"Jay Freedman" wrote:
Nice one. ;-)

Assuming the macro that starts the code when Word loads is in an AutoExec
macro, you should be able to prevent it from running by holding down the
Shift key while starting Word. That will let you go into the VBA editor
and disable the code.


Should be the Ctrl key?

Klaus


No, holding the Ctrl key while starting puts you into Safe Mode, which
suppresses not only macros but all customizations in Normal.dot as well as all
add-ins and registry customizations. Holding the Shift key simply disables any
Auto macros that might be present, the same as executing the VBA command
WordBasic.DisableAutoMacros 1.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Numeric Lists Screwed Up Pat[_2_] New Users 8 October 18th 07 11:41 PM
My font letters got screwed up! Help! BigDaddyCool Microsoft Word Help 3 August 25th 06 06:39 PM
Hyperlinks in Word are all screwed. Scarlet Microsoft Word Help 1 August 7th 05 09:35 PM
Footnote numbering screwed up Elaine Microsoft Word Help 1 July 19th 05 04:08 PM
How to download file to assist Microsoft Word to recover a damage. TSB Microsoft Word Help 2 December 3rd 04 08:23 AM


All times are GMT +1. The time now is 06:56 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"