You create a new ReplicationClient object by calling the CreateObject method, as in the following example, where ReplClient is the name you give to the new ReplicationClient object:
dim ReplClient
Set ReplClient = CreateObject("CrsApi.ReplicationClient")
... 'Do some replications
'Release Client object
set ReplClient = Nothing
Once you have access to the ReplicationClient object, you must call the Initialize method, unless the object is created through a ReplicationProject object, in which case you need not call Initialize.