+ Reply to Thread
Results 1 to 2 of 2

controling activecell in a selection through macros

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    Karnataka, India
    MS-Off Ver
    Excel 2007
    Posts
    48

    controling activecell in a selection through macros

    the macro that i have designed does some functions on the cells that has been selected just before running the macro, if the person selects it from top to bottom then it works fine but the problem is wen the person selects the cells from the bottom the whole functions works in an unintended way.

    so is there any way that i can write a code that automatically makes the top most left cell of the selection as the activecell or, atleast it shud identify that the selection has been done wrongly and pop an error box and exit the sub.
    is this possible?? please help

  2. #2
    Forum Contributor
    Join Date
    12-31-2012
    Location
    Jhang, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: controling activecell in a selection through macros

    Add this line as the first line of macro:

    Please Login or Register  to view this content.

+ 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