ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   statement for.... to (https://www.excelbanter.com/excel-programming/308598-statement.html)

Marek

statement for.... to
 
if i want to create statement from biger value to lover how to do thi
???, what kind of syntax would be ?

for example i want for counter = 10 downto 1


thank

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


...Patrick[_5_]

statement for.... to
 
for i = 10 to 1 step - 1
blabla
next

"Marek " a écrit dans le message de
...
if i want to create statement from biger value to lover how to do this
???, what kind of syntax would be ?

for example i want for counter = 10 downto 1


thanks


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




Jean-Yves[_2_]

statement for.... to
 
Hi Marek,

dim x
for x=10 to 1 step -1
'do
next x

Regards
Jean-Yves Tfelt

"Marek " wrote in message
...
if i want to create statement from biger value to lover how to do this
???, what kind of syntax would be ?

for example i want for counter = 10 downto 1


thanks


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





All times are GMT +1. The time now is 08:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com