Thanks for the info, PDQBach. Basically, I'm trying to re-establish links between tasks in embedded subprojects in a consolidated master file by using the LinkTasksEdit method (from Project VBA Help):
LinkTasksEdit(From, To, Delete, Type, Lag, PredecessorProjectName, SuccessorProjectName)
My problem lies with the following:
From - Required Long. The identification number of a predecessor task.
To - Required Long. The identification number of a successor task.
I tried using ID and UniqueID for these parameters, but the results have been unpredictable - links were set between the wrong tasks, desired links were not set, etc.
What exactly is meant by "identification number" in this context? I've looked all over - there's a lot of info for Excel, Access, and Word VBA, but next to nothing on Project VBA. Any and all help is greatly appreciated.