B4J Question XLUtils word problem

billmoultrie

Member
Licensed User
Longtime User
I have been trying to transfer some test to a word document using the example:



B4X:
doc.Append($"[p]Word document with two lines. This Is the second line.[/p]"$)

How can I insert a string
B4X:
Dim Str as string

str = "test"
doc.Append($"[p]Str[/p]"$)
 

teddybear

Well-Known Member
Licensed User
Do you want this?
B4X:
Dim Str as string

str = "test"
doc.Append($"[p]${Str}[/p]"$)
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
B4X:
doc.Append($"[p]Word document with two lines.
This Is the second line.[/p]"$)
 
Upvote 0
Top