R
Red
Hi -
I'm running two macros off a Project schedule saved in MS Project
Server. The macros allow me to pass tasks to and from another
application. One of the macros was originally written to save a txt
file with selected information from the MS Project schedule in the same
directory as the MS Project schedule itself. And the other macro was
written to find a txt file (with a predetermined name) in the same
directory as the MS Project schedule that the other application
exported.
I can run this fine if I create the schedule locally (i.e. on my
desktop). The problem is when I save the file in Server, the macro
doesn't know how to get the path off of it. To solve this I wanted to
have the macro pop up the Save As dialog box to save a text file (not
the project file) for some output. Same thing for the second macro to
find the text file (Open As dialog box).
Does anyone have any code snippets for Save As and Open As for a MS
Project macro?
Thanks -
Red
I'm running two macros off a Project schedule saved in MS Project
Server. The macros allow me to pass tasks to and from another
application. One of the macros was originally written to save a txt
file with selected information from the MS Project schedule in the same
directory as the MS Project schedule itself. And the other macro was
written to find a txt file (with a predetermined name) in the same
directory as the MS Project schedule that the other application
exported.
I can run this fine if I create the schedule locally (i.e. on my
desktop). The problem is when I save the file in Server, the macro
doesn't know how to get the path off of it. To solve this I wanted to
have the macro pop up the Save As dialog box to save a text file (not
the project file) for some output. Same thing for the second macro to
find the text file (Open As dialog box).
Does anyone have any code snippets for Save As and Open As for a MS
Project macro?
Thanks -
Red