Well the following lines are trying to open workbooks named in M1 and M2 from "C:\Documents and Settings\leaxl49\Desktop", so if that is not the correct path, and you don't have anything in M1 or M2 then I'm not surprised that it is not doing anything 
I thought that the macro was something you had written, but obviously not, in which case it sounds like it is totally unsuitable for what you want, (other than helping you learn how to do it correctly yourself).
So lets start at the beginning, ignoring the irrelevant code you have posted, what are you ACTUALLY trying to achieve?
Bookmarks