+ Reply to Thread
Results 1 to 6 of 6

How to get increasing numbers in a textbox

  1. #1
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    How to get increasing numbers in a textbox

    Dear Gurus and experts!

    You are requested to please help me in the bellow mentioned problem:

    I have a userform with only one textbox1 and one commandbutton1 .What I want my texbox is to show numbersf from 1 to onwards with every click of commandbutton .For exmple if I click command button the text box should show 1 then with the next click ,2 ,with the next click 3 and so on .I hope you have got my target.

    Best Regards
    Imran Bhatti
    Teach me Excel VBA

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: How to get increasing numbers in a textbox

    Does this work for you?

    Please Login or Register  to view this content.

    BSB
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: How to get increasing numbers in a textbox

    Hi there!
    Put this code in the button code:
    Please Login or Register  to view this content.
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  4. #4
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: How to get increasing numbers in a textbox

    Thanks Badlyspell it worked like what I wanted.

  5. #5
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: How to get increasing numbers in a textbox

    bulina2k your code also worked Thanks.....

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: How to get increasing numbers in a textbox

    Happy to help and thanks for the rep point.

    Don't forget to mark the thread as SOLVED.

    BSB

+ 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. increasing letters not numbers
    By hond in forum Excel General
    Replies: 12
    Last Post: 12-18-2012, 12:09 PM
  2. Save as with increasing numbers
    By hond in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2012, 05:55 AM
  3. numbers increasing
    By itzmemike in forum Excel General
    Replies: 2
    Last Post: 04-04-2012, 01:55 PM
  4. Macro To Autofill Numbers Increasing
    By sperryruss in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-26-2012, 01:12 PM
  5. Increasing numbers down a column
    By Niall in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-22-2010, 12:30 PM
  6. Formula: sum of increasing numbers up to an nth value
    By emptycucumber in forum Excel General
    Replies: 3
    Last Post: 05-21-2009, 06:47 PM
  7. increasing numbers in each new cell
    By vonneffdobermans in forum Excel General
    Replies: 5
    Last Post: 11-26-2008, 03:33 PM
  8. [SOLVED] increasing numbers in sreadsheet
    By luminore in forum Excel General
    Replies: 2
    Last Post: 02-06-2006, 10:20 AM

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