+ Reply to Thread
Results 1 to 3 of 3

Adding Numbers

  1. #1
    Registered User
    Join Date
    12-29-2005
    Posts
    4

    Adding Numbers

    I need a code that will add 1 to the number that is already in a cell

  2. #2
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    cells(i,j).value = cells(i,j).value +1
    not a professional, just trying to assist.....

  3. #3
    Dave Peterson
    Guest

    Re: Adding Numbers

    dim myCell as range
    set mycell = activesheet.range("a1")
    if isnumeric(mycell.value) then
    mycell.value = mycell.value + 1
    end if

    mikesr20 wrote:
    >
    > I need a code that will add 1 to the number that is already in a cell
    >
    > --
    > mikesr20
    > ------------------------------------------------------------------------
    > mikesr20's Profile: http://www.excelforum.com/member.php...o&userid=29959
    > View this thread: http://www.excelforum.com/showthread...hreadid=498178


    --

    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