Nevermind, I answered my own question. For everyone its just a simple \n
like this: string = "Name" + '\n' + "Address"
pretty simple.
--
Jesse Johnson
"Jesse Johnson" wrote:
> I have some code that inputs text into a word template but I cant figure out
> how to input a line break. I have:
>
> cell.Range.Text = "Jesse Johnson";
> I NEED TO A LINE BREAK HERE
> cell.Range.Text = "Address";
> I NEED TO A LINE BREAK HERE
> cell.Range.Text = "City, State Zip";
>
> I want it to read:
>
> Jesse Johnson
> Address
> City, State Zip
>
> Cant figure this out. Any ideas?
>
> --
> Jesse Johnson
|