Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
PST PST is offline
external usenet poster
 
Posts: 29
Default Loop relative rows

Loop relative row


Hello
With the macro macro_C(), I call the macro C_N all the 28 rows.
Select column 17 of each row for puts the result of C_N at it

How to make so that C_N holds account of the values of column 1 with
that of the last nonempty cell of the line in progress of lig

Sub macro_C()
Dim lig As Integer
Dim Col As Integer

For lig = 1 To 100 Step 28
For Col = 1 To 1

Next
Cells(lig, 17).Select
Call C_N
Next
End Sub

thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Loop relative rows

I believe this was answered in another group.

"PST" wrote:

Loop relative row


Hello
With the macro macro_C(), I call the macro C_N all the 28 rows.
Select column 17 of each row for puts the result of C_N at it

How to make so that C_N holds account of the values of column 1 with
that of the last nonempty cell of the line in progress of lig

Sub macro_C()
Dim lig As Integer
Dim Col As Integer

For lig = 1 To 100 Step 28
For Col = 1 To 1

Next
Cells(lig, 17).Select
Call C_N
Next
End Sub

thank you

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
Loop relative rows PST Excel Discussion (Misc queries) 1 May 20th 07 12:23 PM
Loop every 26 rows and if.. Robert Excel Programming 4 March 30th 06 10:52 AM
Need to delete rows relative to selection ratchick Excel Programming 4 November 22nd 05 04:53 PM
Loop through rows using a wildcard. mthomas[_4_] Excel Programming 2 August 4th 05 03:32 PM
Cannot loop through rows in C# Howard Excel Programming 2 February 5th 04 03:39 PM


All times are GMT +1. The time now is 06:52 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"