Remove reference path for rasters

Everyone,

 We have a problem that we have some files which have many "hard-referenced" raster files have been attached. I need to suppress the original location so that MS_RFDIR can supply the location. As an intermediate step, I am trying to change the path as follows:

    For Each oRaster In theRasters
        If oRaster.RasterInformation.Path = "T:\2346 Eldon Square Newcastle Phase 3\Images\Statutory Signage" Then
            sPath = oRaster.RasterInformation.Name
            sPath = "H:\2346 Eldon Square Newcastle Phase 3\Images\Statutory Signage\" & sPath
            oRaster.SetAttachName sPath
            i = i + 1
        End If
    Next

 

Which fails to work. SetAttachName requires

oRaster.SetAttachName(sPath)     'according to AutoComplete

But no brackets needed according to VBA help. Presumably the raster ref should then be re-written.

Either way I would really appreciate some help with a method to replace raster reference paths..

Thanks in advance

 

Mike