View Single Post
  #15   Report Post  
Posted to microsoft.public.excel.misc
Dana DeLouis Dana DeLouis is offline
external usenet poster
 
Posts: 947
Default How to generate a list of prime number?

For x = 1 To 10000
Dim i As Long


Could I suggest moving the Dim statement to the beginning so that it's
called only once?

Dim i As Long
For x = 1 To 10000
--
HTH
Dana DeLouis

<snip