dmahen Posted January 29, 2006 Report Share Posted January 29, 2006 Greetings, I have an ongoing problem with Mx 3.5 and Word. And its the same problem in word XP or in Word 2003. I want my macro to open a menu selection execute the commands and close. I can get this to happen once, but then if I need to use that macro again, it skips the tree second delay, moves teh cursor up 2 line, and inserts the letter p into the line of text there. This happens ecaxtly the same every time. The activaction is a hotkey and I set it to work ony in MS Word. Any advice for a rookie? I have to use MS word a lot and I am hoping to save a lot of keystrokes and frustration. Thanks in advance...... Here is the macro: MMS2:223,38 MSD:500 LDCLK DELAY:3 MMS2:265,387 MSD:500 LCLK MSD:500 MMS2:365,163 MSD:500 LCLK MSD:0906 TEXTTYPE:p MSD:500 MMS2:348,297 MSD:500 LDCLK MSD:500 DOHOOK Quote Link to comment Share on other sites More sharing options...
lemming Posted January 30, 2006 Report Share Posted January 30, 2006 Your code is a bit hard to debug. In the future, you would want to use the "copy command text" command which is available after you Select All in the scripting editor. This is more readable for other users. Another thing you could check is whether your macro is clashing with an existing word shortcut or word macro hotkey. Word has a large number of shortcut keys. In addition, your company/coworkers could have defined their own Word hotkeys. Try searching for "Print a list of shortcut keys" in Word Help. Quote Link to comment Share on other sites More sharing options...
dmahen Posted January 31, 2006 Author Report Share Posted January 31, 2006 Thanks! I am the only one using the macro and Me is not on a network and shared by other users. I upgraded form Word XP to Word 2003, but the results are the same. I'll go ahead and check for conflicts as suggested. Thanks again, and if I still have the problem, I'll be back. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.