Title: Close Post by: b!z on August 04, 2013, 10:32:15 AM Thanks for the help guys.
Title: Re: How do I make a .docx macro (open calc.exe when .doc is opened)? $$ Post by: escrow.ms on August 04, 2013, 10:49:37 AM http://computer-forensics.sans.org/blog/2009/11/23/extracting-vb-macros-from-malicious-documents/
link of sample files are in blog. http://blog.invisibledenizen.org/2008/11/on-vba-in-excel-and-word-documents.html Title: Re: How do I make a .docx macro (open calc.exe when .doc is opened)? $$ Post by: MiningBuddy on August 04, 2013, 10:50:29 AM Look into the shell command, maybe this will help you get started
Code: Sub Calc1() Good luck, have fun Title: Re: How do I make a .docx macro (open calc.exe when .doc is opened)? $$ Post by: botsofbitcoin on August 04, 2013, 11:17:28 AM Step by step with code.
Hit Alt-F11, and paste the code into the module Code: Private Sub Document_Open() Close and re-open the document to see it working. You might get prompted to allow macros depending on your security settings Donations gratefully accepted! Let me know if you need a sample file. |