![]() |
#9
|
|||
|
|||
![]()
above code is comming for value 1 i want to general lies comming error need some correction
Code:
Sub AddComments() Dim ocel As Range For Each ocel In Selection.Cells If Len(ocel.Value) > 0 Then ocel.AddComment "Comment Text" End If Next End Sub Last edited by macropod; 02-07-2012 at 04:04 AM. Reason: Added code tags |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro to Insert Text Into Cells Having Multiple Lines | revans611 | Excel Programming | 4 | 10-24-2011 10:15 AM |
![]() |
OTPM | Excel | 11 | 05-23-2011 11:18 AM |
![]() |
PSYloco | Excel | 2 | 05-14-2011 03:46 PM |
![]() |
VinceO | Excel | 1 | 05-09-2011 06:38 AM |
![]() |
jrasche2003@yahoo.com | Excel | 2 | 02-09-2007 07:10 AM |