+ Reply to Thread
Results 1 to 2 of 2

auto fill help needed

  1. #1
    Registered User
    Join Date
    01-19-2006
    Posts
    5

    auto fill help needed

    I need to generate a sequential number list, but I need it to skip every 13th number. I am starting with # 2343

  2. #2
    Tom Ogilvy
    Guest

    Re: auto fill help needed

    k = 1
    for i = 2343 to 5000
    if (i-2342) mod 13 <> 0 then
    cells(k,1) = i
    k = k + 1
    End If
    Next

    --
    Regards,
    Tom Ogilvy

    "gotzoom" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I need to generate a sequential number list, but I need it to skip every
    > 13th number. I am starting with # 2343
    >
    >
    > --
    > gotzoom
    > ------------------------------------------------------------------------
    > gotzoom's Profile:

    http://www.excelforum.com/member.php...o&userid=30655
    > View this thread: http://www.excelforum.com/showthread...hreadid=503179
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1