Hi Ani,
To use the functions that Marc and Dirk mentioned you need to provide other required values for the functions´ parameter.
Just to give you an example on how to use the function FindChildByName, let´s say you have a Physical Model (PDM). This type of model has a collection of tables, so to find a specific table using the function FindChildByName your lines of code should be:
dim tabObj
set tabObj = activeModel.FindChildByName("Employee", PdPDM.cls_table, "",Nothing, False, False)
activeModel - represents you currently opened PDM model in the example I provide here.
Using the metamodel do a search for FindChildByName. This function has an explanation about all parameters it has, what they mean and what are their default value (if it applies).
Hope it helps.
Regards
-Paulo