Try this ma'am
Code:
strRepPath = "P:\QTP Tests\ObjectRepository\RepositoryCTE.tsr"
RepositoriesCollection.RemoveAll()
RepositoriesCollection.Add(strRepPath)
