![]() |
variable cell index
how can i use variable cell index and "for"loop in Excell.
for example: are E4=E3+1 or A1=Fn;n=1 to 20? |
variable cell index
as your query i've compiled this one:
Sub Looping() Dim n As Long For n = 1 To 20 Cells(n + 4, "E") = Cells(n + 4, "E").Offset(-1, 0) + 1 Next n End Sub -- Regards, Halim "jila" wrote: how can i use variable cell index and "for"loop in Excell. for example: are E4=E3+1 or A1=Fn;n=1 to 20? |
All times are GMT +1. The time now is 05:25 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com