+ Reply to Thread
Results 1 to 2 of 2

Find the value of a cell

  1. #1
    Registered User
    Join Date
    04-17-2006
    Posts
    13

    Find the value of a cell

    Hi guys,

    I want to be able to implement an auto number function. So i'm trying to read in the value of the previous row of the column. I'm using:

    Cells(target.row, 2)

    to find to find the row but i want to be able to read the value of the number in the cell so that i can add 1 to the number.

    Any help would be greatly appreciated,

    Aidan

  2. #2
    Norman Jones
    Guest

    Re: Find the value of a cell

    Hi Aidan,

    Try something like:

    rCell.Value = rCell.Offset(-1,0).Value


    ---
    Regards,
    Norman



    "afmullane" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Hi guys,
    >
    > I want to be able to implement an auto number function. So i'm trying
    > to read in the value of the previous row of the column. I'm using:
    >
    > Cells(target.row, 2)
    >
    > to find to find the row but i want to be able to read the value of the
    > number in the cell so that i can add 1 to the number.
    >
    > Any help would be greatly appreciated,
    >
    > Aidan
    >
    >
    > --
    > afmullane
    > ------------------------------------------------------------------------
    > afmullane's Profile:
    > http://www.excelforum.com/member.php...o&userid=33567
    > View this thread: http://www.excelforum.com/showthread...hreadid=538420
    >




+ 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