Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Ability to filter comments in Excel

I would like to have the ability to filter rows that include comments. In
the custom filter box, options such as "Include Comments" or "Comments Only"
would be helpful.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...el.programming
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Ability to filter comments in Excel

Why not use AUTOFILTER and select the NON-BLANKS in the column.

"ogre2673" wrote in message
...
I would like to have the ability to filter rows that include comments. In
the custom filter box, options such as "Include Comments" or "Comments
Only"
would be helpful.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...el.programming



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Ability to filter comments in Excel

An AutoFilter for Non-Blanks would show cells with data, but not cells
with comments (Insert Comment)

Barb Reinhardt wrote:
Why not use AUTOFILTER and select the NON-BLANKS in the column.

"ogre2673" wrote in message
...

I would like to have the ability to filter rows that include comments. In
the custom filter box, options such as "Include Comments" or "Comments
Only"
would be helpful.


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Ability to filter comments in Excel

I read your post that you wanted to filter on the actual comment itself.

If that's the case, you could use a userdefined function to retrieve the
comment's text and put it into an adjacent cell. Then filter by that.

If that's ok...

Saved from a previous post:

You can retrieve the text from a comment with a userdefined function like:

Option Explicit
Function GetComment(FCell As Range) As Variant
Application.Volatile

Set FCell = FCell(1)

If FCell.Comment Is Nothing Then
GetComment = ""
Else
GetComment = FCell.Comment.Text
End If

End Function

Then you can use it like any other function:

=getcomment(a1)

But be aware that the function won't evaluate when you just change the comment.
It'll be correct when excel recalculates. (Hit F9 to force a recalc.)

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm


ogre2673 wrote:

I would like to have the ability to filter rows that include comments. In
the custom filter box, options such as "Include Comments" or "Comments Only"
would be helpful.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...el.programming


--

Dave Peterson
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
lost ability to filter by color ichirus Excel Discussion (Misc queries) 1 March 31st 10 11:22 PM
How did I lose ability to add/edit comments in Excel NauticVideo New Users to Excel 4 June 21st 09 10:33 PM
can you filter so that you only see cells that contain comments? Dani Excel Discussion (Misc queries) 1 April 30th 09 06:20 AM
turn on insert comments ability in Excel dave parta Excel Discussion (Misc queries) 2 April 11th 08 10:47 PM
Auto Filter With Auto Complete Ability Eastar Excel Discussion (Misc queries) 1 December 26th 07 08:45 PM


All times are GMT +1. The time now is 04:25 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"