daniel76
04-15-2008, 03:13 AM
Hi,
I have a question in regards to DOCVARIABLE in word document. In the userform, i have a textbox whose multilines is set to true so that user can type more than one line in the box. In the document, i have added { DOCVARIABLE bodytext } to accommodate the value of the textbox.
This is what i found when user enters more than one line. What appeared on the document was as follows
Hello World
0
0This is for testing
where 0 denotes a square box symbol.
All i did was typed in
Hello World (enter carriage key)
(enter carriage key)
This is for testing
Somehow, i think DOCVARIABLE takes the "enter" character into account. My problem is i am not sure what that box symbol is (could be the enter carriage character). If i trim the value of the textbox in order to get rid of that symbol, then what appears would be different from that being typed in by user.
How do i fix this? any ideas are greatly appreciated.
BTW, this is for word 03
Thank you in advance
I have a question in regards to DOCVARIABLE in word document. In the userform, i have a textbox whose multilines is set to true so that user can type more than one line in the box. In the document, i have added { DOCVARIABLE bodytext } to accommodate the value of the textbox.
This is what i found when user enters more than one line. What appeared on the document was as follows
Hello World
0
0This is for testing
where 0 denotes a square box symbol.
All i did was typed in
Hello World (enter carriage key)
(enter carriage key)
This is for testing
Somehow, i think DOCVARIABLE takes the "enter" character into account. My problem is i am not sure what that box symbol is (could be the enter carriage character). If i trim the value of the textbox in order to get rid of that symbol, then what appears would be different from that being typed in by user.
How do i fix this? any ideas are greatly appreciated.
BTW, this is for word 03
Thank you in advance