If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
MACROS
just beginning to use macros...want to get a macro to file, insert, go to the file and stop at the line to type in the name of the file to insert. It gets me that far, but then to turn off the macro I have to close the file insert window and that blows away the recording so far. Does this make any sense? the steps are insert, file, Cdrive, my documents, ...then I want it to stop so I can put the name of the file in...then insert and close. Am I asking too much of it.
|
#2
|
|||
|
|||
MACROS
Sorry, you are asking too much of macro recording, which doesn't record
keystrokes, but results. In this case, since there is no result, there is no record. Edit your macro and put in the following command where you want to be inserting the file: Application.Dialogs(wdDialogInsertFile).Show There is much more on using and writing macros on the MVP FAQ site. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://www.mvps.org/word which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "mac" wrote in message ... just beginning to use macros...want to get a macro to file, insert, go to the file and stop at the line to type in the name of the file to insert. It gets me that far, but then to turn off the macro I have to close the file insert window and that blows away the recording so far. Does this make any sense? the steps are insert, file, Cdrive, my documents, ...then I want it to stop so I can put the name of the file in...then insert and close. Am I asking too much of it. |
Thread Tools | |
Display Modes | |
|
|