View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
biker man biker man is offline
external usenet poster
 
Posts: 10
Default formula outcomes

can anyone tell me if theres any errors in this and what the outcome
would be?

sub test ()


dim I, J As Integer
dim x as single
for i = 1 to length
for j = 1 to (length - i)
If A(j) < A )j +1) Then
x = a(j +1) = A(j)
A(j) = x
end if
next j
next i
end sub