vba_help_needed
New Member
- Joined
- Jun 1, 2017
- Messages
- 2
I need to convert the cell contents in a column into comments. Here is code that nearly accomplished that:
<code>Range.(Select Column Here).Select
Dim c As Range
For Each c In Selection
</code><code> With c
</code><code> .NoteText Text:=.Value
</code><code> End With
</code><code>Next c
</code>
This works for the most part. However, my problem is that cells with > 255 characters don't get converted to comments. Does anyone know a workaround for this? I'm having to manually go and create the comment for the cells with > 255 characters and would really like to find a way to automate this.
Thank you for any attempt to help.
<code>Range.(Select Column Here).Select
Dim c As Range
For Each c In Selection
</code><code> With c
</code><code> .NoteText Text:=.Value
</code><code> End With
</code><code>Next c
</code>
This works for the most part. However, my problem is that cells with > 255 characters don't get converted to comments. Does anyone know a workaround for this? I'm having to manually go and create the comment for the cells with > 255 characters and would really like to find a way to automate this.
Thank you for any attempt to help.