Hi Daneil,

Thanks but it didnt worked..............

Run-time error '-2147024809
Could not find the specified object

Thanks,
Shariq
On Fri, Jul 8, 2011 at 11:12 AM, Daniel <dcolarde...@free.fr> wrote:

>  Hi,****
>
> ** **
>
> Try :****
>
> ** **
>
> For num = 1 To 22****
>
>     txtbox_val = Me.Controls("TB" & num).Value****
>
>     txtbox_num = num****
>
> Next num****
>
> ** **
>
> Regards.****
>
> Daniel****
>
> ** **
>
> *De :* excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
> *De la part de* shariq khan
> *Envoyé :* vendredi 8 juillet 2011 11:00
> *À :* excel-macros@googlegroups.com
> *Objet :* $$Excel-Macros$$ Need Help Help Help.....Putting value in user
> from by loop****
>
> ** **
>
> I’m trying to assign the value in excel user from thought loop.****
>
>  ****
>
> Name of the textboxes are TB1,TB2,TB3…….. TB22  .****
>
>  ****
>
> Below is the code which I’m using ,but its not working. ****
>
>  ****
>
> For num = 1 To 22****
>
>         txtbox_val = "TB" & num & ".value"****
>
>             txtbox_val = num****
>
>         End If****
>
>   Next num****
>
>  ****
>
>  ****
>
> The same thing I wanted to do with the label and the names of the label are
> L1,L2,L3……L22****
>
>  ****
>
> Please help me on this.****
>
>  ****
>
>   ****
>
>
>
> --
> Thanks and Reagrd’s
> Shariq****
>
>
>  ****
>
> --
>
> ----------------------------------------------------------------------------------
> Some important links for excel users:
> 1. Follow us on TWITTER for tips tricks and links :
> http://twitter.com/exceldailytip
> 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
> 3. Excel tutorials at http://www.excel-macros.blogspot.com
> 4. Learn VBA Macros at http://www.quickvba.blogspot.com
> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
>
> To post to this group, send email to excel-macros@googlegroups.com
>
> <><><><><><><><><><><><><><><><><><><><><><>
> Like our page on facebook , Just follow below link
> http://www.facebook.com/discussexcel****
>
> --
>
> ----------------------------------------------------------------------------------
> Some important links for excel users:
> 1. Follow us on TWITTER for tips tricks and links :
> http://twitter.com/exceldailytip
> 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
> 3. Excel tutorials at http://www.excel-macros.blogspot.com
> 4. Learn VBA Macros at http://www.quickvba.blogspot.com
> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
>
> To post to this group, send email to excel-macros@googlegroups.com
>
> <><><><><><><><><><><><><><><><><><><><><><>
> Like our page on facebook , Just follow below link
> http://www.facebook.com/discussexcel
>



-- 
Thanks and Reagrd’s
Shariq Shazad Khan
9999066979,9891184784

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel

Reply via email to