J
Jeff Fenbert
I am writing a macro to copy data from one file to
another. As part of the process I need to switch between
active windows. The macro has crashed depending on what
machine the macro runs. I have traced the problem to the
file name.
I defined a varible based on the activeproject name. In
some machines the active name is "projectname" on others
it appears to be "projectname.mpp" This causes the macro
to crash on some machines when the line says:
WindowActivate projectname
To work on that machine I have put in
WindowActivate projectname + .mpp
Am I using the property correctly?
Any better ideas on how to switch windows?
thanks.
another. As part of the process I need to switch between
active windows. The macro has crashed depending on what
machine the macro runs. I have traced the problem to the
file name.
I defined a varible based on the activeproject name. In
some machines the active name is "projectname" on others
it appears to be "projectname.mpp" This causes the macro
to crash on some machines when the line says:
WindowActivate projectname
To work on that machine I have put in
WindowActivate projectname + .mpp
Am I using the property correctly?
Any better ideas on how to switch windows?
thanks.