PC Review


Reply
Thread Tools Rate Thread

How to call "Hide Comment" from VBA???

 
 
=?Utf-8?B?QmFyYg==?=
Guest
Posts: n/a
 
      23rd Jul 2007
Hi,

I created a comment in a cell with VBA. I don't know why but it
stays open instead to be closed. Can I call the same "Hide comment" that we
see when we right click on that cell?

range("A40").NoteText Text:="bla bla bla"
' to close the comment
range("A40").HideComment ????????

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      23rd Jul 2007
I turned on the macro recorder (tools=>Macro=>Record a Macro) and hide
comment using the right click popup menu. this was what was recorded:

ActiveCell.Comment.Visible = False

--
Regards,
Tom Ogilvy


"Barb" wrote:

> Hi,
>
> I created a comment in a cell with VBA. I don't know why but it
> stays open instead to be closed. Can I call the same "Hide comment" that we
> see when we right click on that cell?
>
> range("A40").NoteText Text:="bla bla bla"
> ' to close the comment
> range("A40").HideComment ????????
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Comment Subject" and "Comment Reference" styles Eric Microsoft Word Document Management 0 17th Oct 2009 01:43 AM
delete "comment" and signature from "comment" baloon =?Utf-8?B?Z2Jz?= Microsoft Word Document Management 0 29th Aug 2007 07:38 AM
Group Policy "Hide specified Control Panel applets" not working for "Network Connections" Arie Slob Windows XP Security 5 24th Aug 2005 12:35 PM
Hide "Record" "Closed Caption" "Parental Control" indicators while in full screen Jordan ATI Video Cards 0 18th Feb 2005 05:21 PM
How do I "hide" members of a "group" in my "outlook address book". =?Utf-8?B?ZGVlcHNlYTI5?= Microsoft Outlook Contacts 1 31st Jan 2005 12:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:03 PM.