Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
for next loop not working
Where is the image control? On a userform or a worksheet
How slow do you want the transition? -- Regards, Tom Ogilvy "Tim" wrote in message ... "Ron Rosenfeld" wrote in message ... On Fri, 24 Sep 2004 17:24:41 +0100, "Tim" wrote: could someone explain why the following simple bit of code does not work? Private Sub Image1_Click() For x = 10 To 1 Image1.Width = x Next x End Sub Try (2nd line) For x = 10 to 1 Step -1 thanks Ron, it works, but i thought if i did it as a loop, it would have a smooth transition, it just seems to go from all to nothing in one go (maybe i need a line to update the form?) tim |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Loop all Sheets not working. | New Users to Excel | |||
On Error GoTo Label in a loop only working once. | Charts and Charting in Excel | |||
for next loop not working | Excel Programming | |||
Find value loop not working | Excel Programming | |||
Loop - for each sheet not working? | Excel Programming |