auto fill help needed

  • Thread starter Thread starter gotzoom
  • Start date Start date
G

gotzoom

I need to generate a sequential number list, but I need it to skip every
13th number. I am starting with # 2343
 
k = 1
for i = 2343 to 5000
if (i-2342) mod 13 <> 0 then
cells(k,1) = i
k = k + 1
End If
Next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top