Hello all,
I've set up a UserForm on a template - the user has to enter a variety of bits of information - one part of which is CCs.
I've put in a text box (with multiline available), and have a bookmark at the end of the document for where I want it to go.
Currently I have;
Code:
If doc_CC.TextLength > 0 Then .Bookmarks("CCs").Range.Text = vbCr + "CC: " + Chr(9) + doc_CC + vbCr
When I wrote it I expected it to behave how it does if done manually - if you tab, write some text, then hit enter, you move to the next line with the same level of indentation.
However, with the above code, it tabs correctly for the first line, but then returns to the left margin for all following lines.
Any one have any ideas how to work around this?
Any advice/suggestions are greatly appreciated.