Using "MoveEndWhile"

R

Robin Tucker

When using "MoveEndWhile", is it possible to use carriage returns in the
CSet:= parameter? I would like to move the end of a range while I am
encountering spaces or newlines.
 
J

Jay Freedman

Robin said:
When using "MoveEndWhile", is it possible to use carriage returns in
the CSet:= parameter? I would like to move the end of a range while
I am encountering spaces or newlines.

Hi Robin,

Yes, use something like CSet:=" " & vbCr for the parameter. There are also
vbTab and vbVerticalTab (the manual line break you get from Shift+Enter).
 

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