Could someone tell me how macro viruses turn off the macro protection, on Word for example?

Also, is there any way to view the macro code before opening a file to look for the 'turn protection off' code, otherwise wouldn't you just have to chance it, even if it scanned OK with a virus checker?

Thanks in advance.