+ Reply to Thread
Results 1 to 2 of 2

MACRO range find last row

  1. #1
    Helmut
    Guest

    MACRO range find last row

    Hi,
    I want to write Macro which finds LAST_ROW_NUMBER and then inserts it into a
    RANGE for PRINTING or SORTING
    i.e. rows keep adding daily and for Sort Macro Range I need the
    LAST_ROW_NUMBER
    right now I do it with a DIM and INPUTbox but I want to do it without manual
    interface.
    thanks
    Helmut

  2. #2
    Bob Phillips
    Guest

    Re: MACRO range find last row


    LastRow = Cells(Rows.Count,"A").End(xlUp).Row

    assuming you are looking in column A

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "Helmut" <Helmut@discussions.microsoft.com> wrote in message
    news:08E25E1E-B66B-4A7A-A5F4-6022AD042FFE@microsoft.com...
    > Hi,
    > I want to write Macro which finds LAST_ROW_NUMBER and then inserts it into

    a
    > RANGE for PRINTING or SORTING
    > i.e. rows keep adding daily and for Sort Macro Range I need the
    > LAST_ROW_NUMBER
    > right now I do it with a DIM and INPUTbox but I want to do it without

    manual
    > interface.
    > thanks
    > Helmut




+ 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