Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-06-2012, 08:34 PM
macropod's Avatar
macropod macropod is offline how to gave comments to multiple cells at a time Windows 7 64bit how to gave comments to multiple cells at a time Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,369
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default


I have merged your three threads about adding comments to multiple cells. Please don't start multiple threads on the same topic - if you have additional information/questions, add them to the original thread.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 02-06-2012, 11:37 PM
gsrikanth gsrikanth is offline how to gave comments to multiple cells at a time Windows XP how to gave comments to multiple cells at a time Office XP
Competent Performer
how to gave comments to multiple cells at a time
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
I have merged your three threads about adding comments to multiple cells. Please don't start multiple threads on the same topic - if you have additional information/questions, add them to the original thread.
ok thanks regards
Reply With Quote
  #3  
Old 02-07-2012, 02:05 AM
gsrikanth gsrikanth is offline how to gave comments to multiple cells at a time Windows XP how to gave comments to multiple cells at a time Office XP
Competent Performer
how to gave comments to multiple cells at a time
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

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
Reply With Quote
Reply



Similar Threads
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
how to gave comments to multiple cells at a time Multiple VLOOKUP's checking multiple Cells OTPM Excel 11 05-23-2011 11:18 AM
how to gave comments to multiple cells at a time Concatenate/merge contents of multiple cells PSYloco Excel 2 05-14-2011 03:46 PM
how to gave comments to multiple cells at a time filling multiple cells whislt using Filter VinceO Excel 1 05-09-2011 06:38 AM
how to gave comments to multiple cells at a time How to get cells to calculate time? jrasche2003@yahoo.com Excel 2 02-09-2007 07:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:07 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft