Jun 12, 2003 #1 Igwiz Technical User Jun 3, 2003 88 CA Hi, How can I use the Macro Recorder to record actions outside of Excel eg Open up Word and Load a File? Thanks, Ig
Hi, How can I use the Macro Recorder to record actions outside of Excel eg Open up Word and Load a File? Thanks, Ig
Jun 12, 2003 #2 telephoto Technical User Nov 3, 2002 212 GB As far as I know the macro recorder only works to record actions in that program. Record a macro then edit it via tools/macro/ and use something like Dim RetVal RetVal = Shell("""C:\Program Files\Microsoft Office\Office\winword.exe"" ""\\ServerNo\PathTofolder\filename.doc""", 1) to open the target application and file. Hope this gives you a clue Telephoto Upvote 0 Downvote
As far as I know the macro recorder only works to record actions in that program. Record a macro then edit it via tools/macro/ and use something like Dim RetVal RetVal = Shell("""C:\Program Files\Microsoft Office\Office\winword.exe"" ""\\ServerNo\PathTofolder\filename.doc""", 1) to open the target application and file. Hope this gives you a clue Telephoto
Jun 13, 2003 #3 fumei Technical User Oct 23, 2002 9,349 CA Macro Record definitely does not record outside of the app that is recording. Telephoto is right. Make a macro then edit it. However, you could also create an instance of Word and get it to load a file without using Shell. Upvote 0 Downvote
Macro Record definitely does not record outside of the app that is recording. Telephoto is right. Make a macro then edit it. However, you could also create an instance of Word and get it to load a file without using Shell.