>Hi,
> Thank you for your replying me at my question.The objects have been used to add with different names and they have been invisibly after refreshing.So they are insuccessfully.The error is still appeared!! "A member object with this name already exists"
Linda,
I don't know what is happening. Perhaps you can use the debugger, and watch the members of ThisForm, or of Application.ActiveForm, to see whether the object you want to really exists already, or not.
Remember, an object may exist, but not be visible.
What is the name of the member you are adding? Perhaps you are trying to use a reserved word.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)