+ Reply to Thread
Results 1 to 2 of 2

How do I add an auto number to a worksheet

  1. #1
    peterm
    Guest

    How do I add an auto number to a worksheet

    Can I add an auto number to a work sheet
    or a button to generate a number which increases by 1 each time.
    Office 2000

  2. #2
    Dave Peterson
    Guest

    Re: How do I add an auto number to a worksheet

    You could create a macro and assign it to a button from the Forms toolbar
    (placed on that worksheet).

    Option Explicit
    sub testme01()
    with activesheet
    if isnumeric(.range("a1").value) then
    .range("a1").value = .range("a1").value + 1
    end if
    end with
    end sub

    peterm wrote:
    >
    > Can I add an auto number to a work sheet
    > or a button to generate a number which increases by 1 each time.
    > Office 2000


    --

    Dave Peterson

+ 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