+ Reply to Thread
Results 1 to 3 of 3

How to add Range Selection of an Active Shape's Top/Bottom Row

  1. #1
    Registered User
    Join Date
    02-12-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    2

    How to add Range Selection of an Active Shape's Top/Bottom Row

    Hello,


    I'm trying to make a formula that gathers the top/bottom row # of a marco button and transfers the row #'s into Range command.

    I've got this to work in a "MsgBox" format, but when trying transfer the same formula to a range select command, I seem to be out of my depth.


    Please Login or Register  to view this content.

    Column Range is a constant D:K, but row numbers are dynamic and would vary throughout the document.

    Any help would be appreciated. Thanks!

  2. #2
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: How to add Range Selection of an Active Shape's Top/Bottom Row

    Please Login or Register  to view this content.
    or more simply
    Please Login or Register  to view this content.
    Good luck.

  3. #3
    Registered User
    Join Date
    02-12-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    2

    SOLVED: How to add Range Selection of an Active Shape's Top/Bottom Row

    Rory thank you so much for your help. Much appreciated! I posted on Ozgrid more than two weeks ago and all I got were some angry comments that were not all at helpful.

    If anyone requires the full macro to capture the top and bottom row positions of an Active Shape (macro button) and place their row values into a range select function, it's below.

    Attached as well is a working spreadsheet showing different sizes and position of copy with both macros present.

    Range-Select-Active Shape-Position.xlsm


    Please Login or Register  to view this content.

    Please Login or Register  to view this content.

    Thanks again to Rory for not one, but two creative and extremely quick solutions!

    Cheers :-)

+ 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