Results 1 to 4 of 4

Index on a selection

Threaded View

  1. #1
    Registered User
    Join Date
    08-15-2006
    Posts
    2

    Index on a selection

    Hi folks.

    First time here, hope you can help me.

    I'm trying to get a index on a for each next routine but I don't know how to do it. Like the Item method. In the example I want the statement to run on the last cell of the selection.

    Example:

    Sub Example()
    For each cell in selection

    if cell.index = selection.count then
    statement
    endif

    next

    end sub

    Thanks for any help you can give.

    Best regards,
    KiO
    Last edited by [KiO] ASamarcos; 08-15-2006 at 01:54 PM.

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