Variables to Comments

  • Thread starter Thread starter Charles
  • Start date Start date
C

Charles

Mas,

This is a sample of a recorded code.

Range("A2").Comment.Text Text:=" My Name:" & Chr(10) & "hghghg"
Chr(10) & "jkjkjk" & Chr(10) & "klklk"

HTH


Charle
 
Hi,

I have read this somewhere but can't bottomed such a simple issue...

Whilst getting VBA to write some variables into a new comment, how do I add
a carriage return so that each variable is entered in the comment on a new
line ?

Ta.
 

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

Back
Top