How to transfer text to an sheet if the cells en range contains a

G

Guest

Hi,

I am trying to collect comments from sheet1!A1:A30 in sheet2, but not all
cells in A1:A30 contains a comment but are blank.
How do I automatic get sheet2 to collect all comments and only the comments
from sheet1?
I have tried using the ISTEXT, but it can't be used on a range.

Hope someone can help me, thanks!
 
G

Guest

In sheet1 select cells A1 thru A30 and copy them.
In sheet2 select cell A1 and:

Edit > PasteSpecial > comments

only the comments will be copied over, not the values in the cells
 
G

Gord Dibben

By "Comments" do you mean those created by Insert>Comment?

Or just text string in the cells?

If the first, see Debra Dalgleish's site for code.

http://www.contextures.on.ca/xlcomments03.html#CopyToSheet

If the second, select A1:A30 and F5>Special>Constants>OK

Edit>Copy then paste.

Not automatic, but you could record a macro whilst doing this.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top