Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 87
Default Counting Highlighted Rows

Works great. Thanks, Luke.

"Luke M" wrote:

Sub HowMany()
MsgBox Selection.Rows.Count
End Sub
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Phil H" wrote:

I am highlighting rows beyond what I see on screen. Can someone give me a
macro that counts the number of highlighted rows.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Counting Highlighted Rows

I'm guessing, then, that you will never have selections composed of
non-contiguous areas. For future consideration, you should really mention
such things in your questions when you ask them... the more information you
give about your set up and what you want to do, the better able we are to
give you solutions that do what you are looking for.

--
Rick (MVP - Excel)


"Phil H" wrote in message
...
Works great. Thanks, Luke.

"Luke M" wrote:

Sub HowMany()
MsgBox Selection.Rows.Count
End Sub
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Phil H" wrote:

I am highlighting rows beyond what I see on screen. Can someone give
me a
macro that counts the number of highlighted rows.


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
Too many rows highlighted RLD Excel Worksheet Functions 1 March 24th 10 04:33 PM
Highlighted rows Reyes Excel Discussion (Misc queries) 2 November 13th 08 06:58 PM
Counting highlighted cells Kassie Excel Discussion (Misc queries) 2 May 8th 08 04:50 PM
Counting highlighted cells? Josh - Westfield Australia Excel Discussion (Misc queries) 2 April 20th 05 09:20 AM
counting a highlighted cell Dragonstear Excel Programming 1 October 17th 03 03:44 AM


All times are GMT +1. The time now is 04:15 PM.

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"