Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default extract text from a comment

How does one extract the text from a comment in cell a1
to comment$ in VBA

Thanks
Sunil



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default extract text from a comment

Use:

comment$ = Range("A1").Comment.Text

K


---
Message posted from http://www.ExcelForum.com/

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default extract text from a comment

Sunil,

Dim myComment As String
myComment = Range("A1").Comment.Text
MsgBox myComment

HTH,
Bernie
MS Excel MVP

"SUNIL PATEL" wrote in message
...
How does one extract the text from a comment in cell a1
to comment$ in VBA

Thanks
Sunil





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
refer a cell text in b1 and extract remaing text from a1 Narnimar Excel Discussion (Misc queries) 4 April 3rd 10 12:30 PM
How to extract text from number/text cell Access Joe Excel Worksheet Functions 6 December 1st 09 07:35 PM
Comment Text jwfothergill Excel Discussion (Misc queries) 2 August 4th 09 05:27 PM
Text from a comment box into a cell MFS Excel Worksheet Functions 2 May 7th 09 03:41 AM
Sheet direction, extract data from comment MFS Excel Worksheet Functions 3 May 4th 09 02:28 AM


All times are GMT +1. The time now is 11:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"