+ Reply to Thread
Results 1 to 3 of 3

Active Range?

  1. #1
    Registered User
    Join Date
    01-05-2006
    Posts
    5

    Question Active Range?

    Is there a way of referring to an active selection of cells in vba, like you can activecell for an individual cell?

  2. #2
    Dave Peterson
    Guest

    Re: Active Range?

    Use Selection

    if selection.cells.count > 1 then
    'more than one cell selected
    ....

    mturner wrote:
    >
    > Is there a way of referring to an active selection of cells in vba, like
    > you can activecell for an individual cell?
    >
    > --
    > mturner
    > ------------------------------------------------------------------------
    > mturner's Profile: http://www.excelforum.com/member.php...o&userid=30147
    > View this thread: http://www.excelforum.com/showthread...hreadid=504516


    --

    Dave Peterson

  3. #3
    Registered User
    Join Date
    01-05-2006
    Posts
    5
    Thanks, I'll give it a try.

+ 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