Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default For....Next loop code required

Hi

I need some help with the syntax on a 'for..next' loop on a worksheet
have prepared. Is it possible for me to email someone the actual .xl
file to make the problem easier to understand. If not I will try an
explain the problem here.

Thanks

V

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default For....Next loop code required

Hi
the syntax is as follows:

For i = 1 To 100
'(what you want to repeat)
Next

the i is the variable whose value will be varied.
It will start at 1 and increase to a 100
The next statement increase the i variable and move
to top of for loop.
The 1 and 100 and i can be named anything.
Hope this help.
L



-----Original Message-----
Hi

I need some help with the syntax on a 'for..next' loop

on a worksheet I
have prepared. Is it possible for me to email someone

the actual .xls
file to make the problem easier to understand. If not I

will try and
explain the problem here.

Thanks

VC


---
Message posted from http://www.ExcelForum.com/

.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changes Required In Macro Code TGV Excel Discussion (Misc queries) 2 February 10th 09 05:53 PM
Another VB Code Required TGV Excel Discussion (Misc queries) 7 February 7th 09 07:21 AM
VB Code Required TGV Excel Discussion (Misc queries) 3 February 6th 09 05:31 PM
Macro Code Required - Pls Help TGV Excel Discussion (Misc queries) 2 February 5th 09 12:44 PM
macro code required muddan madhu Excel Worksheet Functions 2 April 28th 08 03:43 PM


All times are GMT +1. The time now is 05:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"