+ Reply to Thread
Results 1 to 2 of 2

Automatically increment a unique number when filling in a userform in excel

  1. #1
    Maddoktor
    Guest

    Automatically increment a unique number when filling in a userform in excel

    Hi all,

    I have created a userform in Excel to enter data into a worksheet. In Column
    A, I have a unique number beginning at number 1 and incrementing everytime
    data is entered into Column B, C, etc. I would like to have a unique field
    in the userform that will increment the number in Column A (with no input
    from the user) and for the user to enter the remaining data into the
    userform that will fill in Columns B,C, etc for the row as the unique
    incrementing number.

    Is this possible?

    Thanks in advance for helping.



  2. #2
    Bob Phillips
    Guest

    Re: Automatically increment a unique number when filling in a userform in excel

    Calculate it with

    iId = Cells(Rows.Count,"A").End(xlUp).Value + 1

    --
    HTH

    Bob Phillips

    "Maddoktor" <[email protected]> wrote in message
    news:[email protected]...
    > Hi all,
    >
    > I have created a userform in Excel to enter data into a worksheet. In

    Column
    > A, I have a unique number beginning at number 1 and incrementing everytime
    > data is entered into Column B, C, etc. I would like to have a unique field
    > in the userform that will increment the number in Column A (with no input
    > from the user) and for the user to enter the remaining data into the
    > userform that will fill in Columns B,C, etc for the row as the unique
    > incrementing number.
    >
    > Is this possible?
    >
    > Thanks in advance for helping.
    >
    >




+ 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