Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSP 2007 Macro to automatically move a view from one MSP file to another MSP file

Status
Not open for further replies.

JD1201

IS-IT--Management
Jun 10, 2014
2
0
0
PH
Hi All,

Can someone help me or if you have already developed a macro tool for MSP 2007 that automatically move views from one MSP file to another MSP file? I know we can have use the Organizer feature but much better if there will be a macro tool for it. Thank you.
 
Hi Julie - Yeah I've tried but unluckily it doesnt work.
 
For any macro to work between two msp files, they BOTH must be openin the same instance of msp.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Not sure why it doesn't work. You'll need to edit the code but the macro recorded created:

You'll need to create a way of capturing which files are open, but not sure why it didn't work for you.

Sub CopyView()
' Macro CopyView
' Macro Recorded 6/12/14 11:53 AM by Julie Sheets.
OrganizerMoveItem Type:=0, FileName:="Office Move 9.mpp", ToFileName:="Office Move 10.mpp", Name:="Custom Gantt"
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top