Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default How to know if a range has been selected

There is always a selection, even if it is just the cell that the cursor is
in. The only time there isn't is if there is a shape that is selected.

Can you elaborate a bit.

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Maria" wrote in message
...
I'm fairly new to excel vba. Can someone tell me how to determine if a
range
has been selected on a worksheet? If a selection has not been made, I
need
to display a message to the end user.


--
Regards.



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
How do I edit a selected range then copy the range into an new sheet??? dwyborn Excel Programming 2 December 16th 05 04:11 PM
Get Name of Selected Range Charlie Excel Programming 5 November 22nd 05 11:21 PM
Compare a selected Range with a Named range and select cells that do not exist PCLIVE Excel Programming 1 October 18th 05 07:09 PM
How can I set a range can't be selected! cherishman Excel Programming 2 May 28th 05 01:42 PM
Box around selected range Tom Ogilvy Excel Programming 1 September 7th 03 04:42 PM


All times are GMT +1. The time now is 09:53 PM.

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

About Us

"It's about Microsoft Excel"