+ Reply to Thread
Results 1 to 2 of 2

Verify Size of Selected Range

  1. #1
    Registered User
    Join Date
    08-20-2012
    Location
    NY
    MS-Off Ver
    Excel 2007
    Posts
    7

    Verify Size of Selected Range

    Experts,
    (Excel 2007)
    I am working on a macro to copy and paste a selected Range of Cells from Sheet1 to Sheet2.

    The first step I need is to verify that the user Selected range is 1 cell high by 8 cells long.

    Bascie steps:
    1. Verify size of selected Range
    2. If not correct display Error message and end
    3. If seelcted range is the correct size, copy and past selected Range to Sheet 2, Cell B2.

    Thanks for your help!

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Verify Size of Selected Range

    Something like this, maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-20-2012
    Location
    NY
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Verify Size of Selected Range

    Andrew,

    Thanks for the FAST reply.
    I did nto think of Count! Perfect!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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