+ Reply to Thread
Results 1 to 3 of 3

How can I have an input form to add a random no. to each input entry?

  1. #1
    Forum Contributor
    Join Date
    02-19-2004
    Location
    San Francisco Bay Area
    MS-Off Ver
    Microsoft 365 Aps for enterprise.
    Posts
    241

    How can I have an input form to add a random no. to each input entry?

    Hi Folks,
    I have a database which gets data input through input form. Now I want whenever an entry is made the form should assign a random no. in a dedicated column. Is it possible?
    Appreciate your help.
    Thank you
    Syed

  2. #2
    Forum Contributor
    Join Date
    02-19-2004
    Location
    San Francisco Bay Area
    MS-Off Ver
    Microsoft 365 Aps for enterprise.
    Posts
    241

    assign a unique random no. Help Please

    Hi Folks,
    I have a database which gets data input through input form. Now I want whenever an entry is made the form should assign a unique random no. in a dedicated column. Is it possible?
    Appreciate your help.
    Thank you
    Syed

  3. #3
    Dave Peterson
    Guest

    Re: How can I have an input form to add a random no. to each inputentry?

    If you're using a form, couldn't you just code that determines a value that is
    one more than the maximum in that range?

    Dim myVal as long
    myval= application.max(worksheets("sheet99").range("C:c") + 1

    Kind of thing?



    saziz wrote:
    >
    > Hi Folks,
    > I have a database which gets data input through input form. Now I want
    > whenever an entry is made the form should assign a unique random no. in
    > a dedicated column. Is it possible?
    > Appreciate your help.
    > Thank you
    > Syed
    >
    > --
    > saziz
    > ------------------------------------------------------------------------
    > saziz's Profile: http://www.excelforum.com/member.php...fo&userid=6350
    > View this thread: http://www.excelforum.com/showthread...hreadid=505032


    --

    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