Change multiple durations via VBA

P

Peter Rooney

Good morning, all!

I've been away from Project VBA for ages, now, so please forgive a probably
elementary question.
I want to replace all occurences of "1 day?" in a project plan with "1 day".
I'll probably use a for each loop, but what's the collection that refers to
all tasks in a project?
Also, will this only affect the individual tasks, and not the durations for
the task summaries?
Thanks in advance

Pete
 
J

John

Peter Rooney said:
Good morning, all!

I've been away from Project VBA for ages, now, so please forgive a probably
elementary question.
I want to replace all occurences of "1 day?" in a project plan with "1 day".
I'll probably use a for each loop, but what's the collection that refers to
all tasks in a project?
Also, will this only affect the individual tasks, and not the durations for
the task summaries?
Thanks in advance

Pete

Pete,
OK, I'm gonna make this real simple for ya. Go to Tools/Options/Schedule
tab and uncheck the box that says, "show that tasks have estimated
durations".

Problem solved, no VBA required.
John
Project MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top