Hi Raj,
I have not coded in VBA before, but the code in C Sharp needs to look a bit different than what you have shown.
int NumberItems = 0;
int[] ObjectType = null;
string[] ObjectName = null;
_SapModel.SelectObj.GetSelected(ref NumberItems, ref ObjectType, ref ObjectName);
S&T