Formatting a string within a textbox

C

clara

Hi there,

serveral years' comments have to be merged into one textbox, i would like to
make each year number standingout that might mean some formatting are needed
within an expression. how can i do it

clara
 
M

Marshall Barton

clara said:
serveral years' comments have to be merged into one textbox, i would like to
make each year number standingout that might mean some formatting are needed
within an expression. how can i do it


The formatting properties apply to the entire text box, not
to parts of it.

How about starting each year's comment on a new line (use
Chr(13) & Chr(10) as the new line sequence. or in VBA the
constant vbCrLf).
 

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