Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Deselect of Cells

Hello,

I'm looking for a way to deselect cells within a selection.

example:
Range A1:D5000 is selected.

Now i want deselect some cells.
maybe B500, C700 B700:D600 or something like that

Is there a fast way to do this? Without looping through each cell o
the selection?


wkr
Rober

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Deselect of Cells

Handler Robert,
Do you really need to select 20,000 cells in the first place ?


NickHK

"Handler Robert " wrote in
message ...
Hello,

I'm looking for a way to deselect cells within a selection.

example:
Range A1:D5000 is selected.

Now i want deselect some cells.
maybe B500, C700 B700:D600 or something like that

Is there a fast way to do this? Without looping through each cell of
the selection?


wkr
Robert


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Deselect of Cells

Yes it can happen, that a range with 20.000 cells get selected

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Deselect of Cells

Handler Robert ,
If it's by the user, then they are not likely to be able to see what they
are doing.
If it's in code, you can just refer to the desired ranges without selecting.

Unless there's another reason.

NickHK

"Handler Robert " wrote in
message ...
Yes it can happen, that a range with 20.000 cells get selected.


---
Message posted from http://www.ExcelForum.com/



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Deselect of Cells

In code
The only way you can deselect is by selecting something else. So if you had

A1:B4 selected, to unselect B4 you would have to select A1:A2,B1

Range("A1:A2,B1").Select

--
Regards,
Tom Ogilvy

"Handler Robert " wrote in
message ...
Yes it can happen, that a range with 20.000 cells get selected.


---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deselect (Unselect) Cells gtabmx Excel Discussion (Misc queries) 15 January 6th 10 02:13 PM
How to deselect individual cells after selecting them with CTL-Cli JarrodP Excel Discussion (Misc queries) 2 August 10th 07 11:24 PM
deselect rows Pam C Excel Discussion (Misc queries) 1 February 16th 06 09:39 PM
Deselect Cells while using ctrl Sloth Excel Discussion (Misc queries) 5 July 14th 05 10:58 PM
ActiveChart.Deselect won't Deselect Mark Stephens Charts and Charting in Excel 2 June 16th 05 02:54 AM


All times are GMT +1. The time now is 02:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"