Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Repetitive block of statements


In my coding, a block of statements get repeated, whenever a control break
occurs, while reading the data.

In COBOL, such block of statements can be put in a separate para and as soon
as the control break occurs, "perform so and so para.." is used. The para is
performed and control gets returned to the statement after the abvoe
'perform' statement.

I searched for an equivalent in Excel VBA, but I couldn't find any. Any
kind suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Repetitive block of statements


Hi Murthy

Why dont you try the loops
http://exceltip.com/st/Using_Loops_i...Excel/628.html

OR Goto
http://www.vb6.us/tutorials/goto-and...visual-basic-6

If this post helps click Yes
---------------
Jacob Skaria


"Murthy" wrote:

In my coding, a block of statements get repeated, whenever a control break
occurs, while reading the data.

In COBOL, such block of statements can be put in a separate para and as soon
as the control break occurs, "perform so and so para.." is used. The para is
performed and control gets returned to the statement after the abvoe
'perform' statement.

I searched for an equivalent in Excel VBA, but I couldn't find any. Any
kind suggestions?

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
how to highlight changes in my data from one block of cells toanother block of cells? LunaMoon Excel Programming 1 July 28th 08 04:26 PM
Repetitive keystroke Andre Croteau Excel Discussion (Misc queries) 3 October 7th 06 02:20 AM
repetitive Repetitive formula Excel Discussion (Misc queries) 2 June 28th 06 05:59 AM
Convert repetitive IF statements to array loop? bntringa[_4_] Excel Programming 5 January 27th 06 09:45 PM
Repetitive IF THEN Statement Todd Huttenstine[_3_] Excel Programming 1 January 27th 04 05:12 AM


All times are GMT +1. The time now is 07:22 PM.

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"