• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 398
  • Last Modified:

Microsoft Word Macros and quick launch

A windows XP computer running word 2003 has a feature where by you press ALT Q on the keyboard (while the screen displays MS word with a new document), this opens another window listing the path name of a folder which you can then select a document. Effectively, ALT Q is a short cut or a pointer to a folder. Where do I find this shortcut/macro and how do I copy this to another computer running windows 7 and word 2010?
0
stevenvel
Asked:
stevenvel
  • 5
  • 3
1 Solution
 
Brian GeeCommented:
From Word 2003, if I recall correctly, you can go to Tools > Macros, to access the Visual Basic Editor where the code for such functionality can be found.

Once you copy over the code to Word 2010, provided that the code works fully in v2010, you will need to assign ALT + Q to serve as shortcut keys to initiate the macro code accordingly.
0
 
stevenvelIT ConsultantAuthor Commented:
Yes you are right in saying go to tools macros but how do I find the macro which has the code associated with ALTQ? Once I find this I need to know how to copy to word 2010.
0
 
Brian GeeCommented:
Tools > Macros > Visual Basic Editor.

If this Macro is housed in your Normal template, you can expand Normal from the Project navigation window pane (on the upper left side) and expand Modules and then double-click on the Macro container therein (in Word 2003, mine is called NewMacros). In the code on the right-side body, you will need to identify which Sub is the one you need to copy over. Once you identify it (if you're not sure and you have other macros here, feel free to paste a copy of the code here so we can assist you with finding the one you need), copy from the beginning of the Sub to the End Sub.

Then let's go to Word 2010 and reveal the Developer tab so that we can access macros and the VB Editor here. Go to File > Options > Customize Ribbon > check the Developer checkbox in the window with the heading called Main Tabs (the right-most window) > click OK. Go to the Developer tab in Word 2010 and click the Visual Basic button. Once the Visual Basic for Applications window appears, expand Normal from the Project navigation pane on the upper left and expand Modules underneath it. Double-click on NewMacros and then paste the code you copied into the right-side body section. Close the Visual Basic for Applications window.

Back from Word 2010, go to File > Options > Customize Ribbon > click the Customize button near the label that reads Keyboard shortcuts: > scroll down the Categories section (right-side pane) of the resulting window and click on Macros from the list > click to select your Macro from the Macros section (left-side pane) > put your cursor in the area called Press new shortcut key: > press ALT + Q > click the Assign button > Close button > OK button.

Your macro, provided the code works smoothly for both Word 2003 and Word 2010, will now work with the Alt + Q key combo.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
stevenvelIT ConsultantAuthor Commented:
I think I have found the macro in question but when I try to expand i get error - Project Locked: Project is unviewabe?
0
 
Brian GeeCommented:
Try closing Word. Re-open Word with a blank document in view and try this process again. If the issue persists, then we'll want to edit (open the template) the Normal.dot file to get to this macro.
0
 
GrahamSkanRetiredCommented:
It sounds as if the code in in a Global template other than Normal, probably in the Word Startup folder. Open the template as a document via File/Open, and the code should be available for viewing and editing.
0
 
stevenvelIT ConsultantAuthor Commented:
This problem (may have been resolved) is on a network I am supporting and I need to clarify some details with the users before proceeding. Thank you for your help so far. I will report asap.
0
 
stevenvelIT ConsultantAuthor Commented:
Maybe I should have explained in more detail to start with:
I have been in touch with a  software company which integrates with MS Word. Their application (which is just tool bars added to word) installs add ins and macros. It is one of their Macros I was having issues with and I don't know how to unlock for viewing with VB. Anyway, I have asked them to look in to this but even they can't quite work it out! Having said this, I have learned a little about macros in the process and at this point I think I will bail out.
0
 
stevenvelIT ConsultantAuthor Commented:
Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now