+ Reply to Thread
Results 1 to 8 of 8

Numbers enter for every one second

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    461

    Numbers enter for every one second

    Hi All,

    I need to enter the number for example from 1 to 10000 in column A. The number should enter automatically for every second in the column.

    Example:

    1
    2
    3
    4


    till
    10000


    Thanks

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Numbers enter for every one second

    As a formula? =row()

    As a Macro

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Contributor
    Join Date
    07-17-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    461

    Re: Numbers enter for every one second

    The number should enter for every 1 second. Example after enter 1 it has to take one more second to enter 2 like so on

  4. #4
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Numbers enter for every one second

    Look at the attached file.
    I created seconds counter in Cell C2.
    When you click the "Start" button, you'll see seconds increasing.
    When the seconds are at 1, macro will start entering 1 in "A1" and then every second it will enter next number until 10000.


    Please Login or Register  to view this content.
    Attached Files Attached Files
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  5. #5
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Numbers enter for every one second

    I just read your previous post again. If you want to trigger the macro based on manually entering a 1 in "A1", you can modify the macro slightly and put in Worksheet_Change event.

  6. #6
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Numbers enter for every one second

    Sorry, Seconds counter is in C3.

  7. #7
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Numbers enter for every one second

    Here's the version that works when you enter 1 in "A1".
    I still have the counter in C3.

    Let me know if this helps.


    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Numbers enter for every one second

    I have no idea why but I think this is what you want?
    Enter 1 in A1 and the timer will start and will stop at 10000
    Enter a 0 in A1 and the timer will stop.
    Attached Files Attached Files
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. only enter valid numbers
    By dgraham62 in forum Excel General
    Replies: 2
    Last Post: 02-15-2015, 02:25 AM
  2. [SOLVED] How to increase/decrease numbers using keystrokes enter/shift+enter?
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 12-12-2014, 05:57 AM
  3. Numbers won't enter
    By BamBamExcel in forum Excel General
    Replies: 2
    Last Post: 03-20-2007, 11:34 PM
  4. how to enter numbers value for calculation?
    By Joanna in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  5. [SOLVED] how to enter numbers value for calculation?
    By Joanna in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  6. how to enter numbers value for calculation?
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-06-2005, 05:05 AM
  7. [SOLVED] how to enter numbers value for calculation?
    By Joanna in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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