Is my code efficient?

I will comment that variable names such as Text and Object are horrible choices for names. Use something meaningful.

That being said…if you want people to look at your code, use code tags Using code tags properly