Can't get one of the "monkeys" you were looking for to help you with this?

On 26 July 2011 13:17, Anthony Mayan <[email protected]> wrote:

> I have a form with many buttons.
>
> I want to be able to set the text property of the textbox at runtime by
> string.
>
> ("Button" & i).Text = "Hello"  'Of course this doesn't work...how do i
> replicate this correctly
>
> i a variable
>
> eg if i=1  then i want the code to do   button1.text="Hello"
> if i=2  then i want the code to do button2.text="Hello"
>
>
> any suggest
>

Reply via email to