+ Reply to Thread
Results 1 to 2 of 2

Finding out range size etc

  1. #1
    Registered User
    Join Date
    04-18-2005
    Posts
    1

    Finding out range size etc

    I need a macro that calculates how many rows and columns a highlighted range covers.

    so if I mark a single block of cells with the mouse and run the macro it tells me details of the range.

    Can anybody help with this one?

  2. #2
    Registered User
    Join Date
    04-18-2005
    Posts
    4
    You can do the read-only properties...

    MsgBox Selection.Count

    For the Column/Row Breakdown -

    MsgBox Selection.Columns.Count
    MsgBox Selection.Rows.Count

    Hope that's helpful...

    Sarr
    Last edited by Sarrina_D; 04-18-2005 at 11:54 AM.

+ 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