Jump to content
Macro Express Forums

Word Question


dmahen

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...