Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MFS MFS is offline
external usenet poster
 
Posts: 36
Default Text from a comment box into a cell

Hi, is there any solution to extract the text written in a comment box to a
specific cell

I tried the following but this message #name? appeared

Select the cell which has the comment
Go to InsertName (Define Name in formulas tap) a window will appear
Now insert the following formula in the "Refers to" box -
get.object(12,"comment 1") and give it a name, say trial
In any cell (say A5) where you want to insert the contents of the comments
box, say =trial.

Please check where is my mistake, note that I have Office 2007.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Text from a comment box into a cell

A macro might be an easier solution.
This one line will do it for you:

ActiveCell.Formula = Range("E7").Comment.Text



On May 6, 3:26*pm, MFS wrote:
Hi, is there any solution to extract the text written in a comment box to a
specific cell

I tried the following but this message #name? appeared

Select the cell which has the comment
Go to InsertName (Define Name in formulas tap) a window will appear
Now insert the following formula in the "Refers to" box -
get.object(12,"comment 1") and give it a name, say trial
In any cell (say A5) where you want to insert the contents of the comments
box, say =trial.

Please check where is my mistake, note that I have Office 2007.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Text from a comment box into a cell

Hi,

I replicated the steps and it worked as expected - no error

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"MFS" wrote in message
...
Hi, is there any solution to extract the text written in a comment box to
a
specific cell

I tried the following but this message #name? appeared

Select the cell which has the comment
Go to InsertName (Define Name in formulas tap) a window will appear
Now insert the following formula in the "Refers to" box -
get.object(12,"comment 1") and give it a name, say trial
In any cell (say A5) where you want to insert the contents of the comments
box, say =trial.

Please check where is my mistake, note that I have Office 2007.

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
Move Comment into cell as Text Frances Excel Discussion (Misc queries) 2 November 5th 08 08:22 PM
Move comment into cell as text PhooPhan Excel Discussion (Misc queries) 4 September 2nd 08 10:17 AM
How can I link the text in a cell into a comment box? Bijoy V J Excel Discussion (Misc queries) 8 July 24th 08 10:22 PM
Create Cell Comment based on text in a cell on another worksheet Dave Fellman Excel Discussion (Misc queries) 2 March 15th 07 09:49 AM
How do I copy text from a cell into a comment? Catnip Excel Discussion (Misc queries) 1 May 27th 05 02:12 PM


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

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"