Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-25-2013, 05:14 PM
BobBridges's Avatar
BobBridges BobBridges is offline Finding the Selection in an inactive worksheet Windows 7 64bit Finding the Selection in an inactive worksheet Office 2010 32bit
Expert
Finding the Selection in an inactive worksheet
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default Finding the Selection in an inactive worksheet

I've been writing in VBA for Excel for years, and I just now got around to noticing that there's no Selection property for a worksheet; I guess it's just for the ActiveWindow. Yet now that I see that, what I want is to have my program detect which cell(s) are selected in a worksheet that isn't necessarily active. Surely it can be done; Excel knows, after all, for when I return to the worksheet the same cells are selected there that were before. So how can my program determine that?

(I realize I can Activate the worksheet; and it isn't even all that important not to do it, as it might be if, for example, I had to do it many times in a loop with many worksheets. Still, there must be a way.)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding the Selection in an inactive worksheet Selection of all Text for a specific page in word is spanning selection across pages ramsgarla Word VBA 9 12-05-2012 03:23 AM
Finding the Selection in an inactive worksheet How to summarise different worksheet to a summary worksheet samkiewhock Excel 1 09-06-2012 03:34 AM
finding more the one gsrikanth Excel 0 05-14-2012 03:25 AM
Finding the Selection in an inactive worksheet "Auto-populating" data-worksheet to worksheet. meggenm Excel 4 02-04-2012 02:04 AM
Options Buttons become inactive clint Word 0 02-25-2010 04:31 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:40 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft