Save Baseline only for a specific task from VBA

H

Hernandezz

Hi,

I use project 2007. I want save baseline to a specific task (or row)
from VBA but I can't select the task I want.

I record a macro but the row is wrong:

SelectRow Row:=-1
BaselineSave All:=False, Copy:=0, Into:=0,
RollupToSummaryTasks:=True



It's possible anything like ?

select tsk.id=3
BaselineSave All:=False, Copy:=0, Into:=0, RollupToSummaryTasks:=True

thanks for your help and time spent.

Best regards
 
J

Jack Dahlgren MVP

Sub Macro1()
EditGoTo ID:=4 'use whatever logic you need to get the row number
SelectRow Row:=0
BaselineSave All:=False, Copy:=0, Into:=0, RollupToSummaryTasks:=True
End Sub

-Jack Dahlgren
 

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