This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > FrontPage Programming > February 2007 > Help with Double Loop





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Help with Double Loop
Marcu2

2007-02-13, 6:16 pm

To whom it concerns

I require some guidance around double loops I require an example of code
which performs the following task on work sheet1

r = 1

Does until cells(r,1) = End Report
r = r +1
The performs a control find command which looks for
A field called "name" and paste it onto cells(a4) sheet2
A field called "Address 1" and paste it onto cells (b4) sheet2
etc
etc
The loop then runs again pasting 1 row down see below
A field called "name" and paste it onto cells(a5) sheet2
A field called "Address 1" and paste it onto cells (b5) sheet2

Thank you in anticipation

Marcus
David Berry

2007-02-13, 6:16 pm

Try the Excel newsgroup. This one is for FrontPage.


"Marcu2" <Marcu2@discussions.microsoft.com> wrote in message
news:B8D3181A-C90A-41F5-87DC-53BB6268348C@microsoft.com...
> To whom it concerns
>
> I require some guidance around double loops I require an example of code
> which performs the following task on work sheet1
>
> r = 1
>
> Does until cells(r,1) = End Report
> r = r +1
> The performs a control find command which looks for
> A field called "name" and paste it onto cells(a4) sheet2
> A field called "Address 1" and paste it onto cells (b4) sheet2
> etc
> etc
> The loop then runs again pasting 1 row down see below
> A field called "name" and paste it onto cells(a5) sheet2
> A field called "Address 1" and paste it onto cells (b5) sheet2
>
> Thank you in anticipation
>
> Marcus



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews