Improve company productivity with a Business Account.Sign Up

x
?
Solved

Read the sort values being used for tasks in a Microsoft Project schedule?

Posted on 2015-01-05
4
Medium Priority
?
108 Views
Last Modified: 2016-05-30
I have created an add-in for Microsoft Project using Visual Basic.  I have a section of code that sorts the tasks (WizardVariables.projApp.Sort(Key1:=DPMarkingFieldString, Key2:="Finish", Key3:="Start")).  What I want to do is determine what the sort values are prior to executing the sort command so that I can put the data back to its original sort order.
0
Comment
Question by:beangl
2 Comments
 
LVL 36

Accepted Solution

by:
sarabande earned 2000 total points
ID: 40537758
it probably is easier to making a copy of the project task list before sorting and use the copy for undo operation.

Sara
0
 

Author Comment

by:beangl
ID: 40552053
Thanks.
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article presents several of my favorite code snippets.
This is a comprehensive review of a bundled Toolkit designed for use by IT Professionals and End Users to help Microsoft Outlook fans manipulate Outlook files and repair some common problems. Enjoy...
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Starting up a Project

585 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question