+ Reply to Thread
Results 1 to 7 of 7

Counting Numbers

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-14-2013
    Location
    Tilburg, Nederland
    MS-Off Ver
    Excel 2010
    Posts
    256

    Re: Counting Numbers

    Public iMax As Integer
    
    Private Sub CommandButton1_Click()
        iMax = iMax - 1
        TextBox1.Text = iMax
        If iMax < 1 Then
            CommandButton1.Enabled = False
            Frame1.Enabled = False
        End If
    End Sub
    
    Private Sub UserForm_Initialize()
        iMax = 5    'The max times save
        TextBox2.Text = iMax
        TextBox1.Text = ""
        TextBox1.Enabled = False
        TextBox2.Enabled = False
    End Sub

  2. #2
    Forum Contributor
    Join Date
    11-26-2013
    Location
    India
    MS-Off Ver
    2010
    Posts
    157

    Re: Counting Numbers

    Thank you,

    Friend the textbox2 is a manuval entry option i give a example of that the value is 5 may be that value will be change .

    Thanks
    Liju M

+ 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. count alphanumeric codes only counting odd numbers not even numbers?
    By JACKBKNIMBLE in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-25-2013, 02:43 PM
  2. Replies: 5
    Last Post: 09-25-2010, 12:43 PM
  3. Counting the numbers
    By mangesh in forum Excel General
    Replies: 7
    Last Post: 07-27-2010, 02:59 AM
  4. counting between numbers
    By curly88 in forum Excel General
    Replies: 1
    Last Post: 09-29-2006, 01:40 AM
  5. counting numbers
    By cj21 in forum Excel General
    Replies: 6
    Last Post: 02-16-2006, 07:35 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