+ Reply to Thread
Results 1 to 2 of 2

Determining the selected range in a worksheet that is not the active worksheet

  1. #1
    Registered User
    Join Date
    01-13-2009
    Location
    Würzburg, GER
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    1

    Determining the selected range in a worksheet that is not the active worksheet

    Hello,

    how can I determine what range is selected in a worksheet?

    Application.selection returns only the selected range in the active sheet. But clearly range selections are remembered for each worksheet individually, and they even persist between Excel sessions. So the selected ranges must be saved with each worksheet.

    I was looking for a worksheet.selection property, but such a property does not exist.

    Thanks very much

    Gantenbein
    Last edited by Gantenbein; 01-13-2009 at 09:41 PM. Reason: clarification

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525
    You can only know what range is selected in the active worksheet, if you want to do something in another sheet, "Select" cannot be used, what are you trying to do in another worksheet??

+ 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