D
Daniel
Hi
I been trying to print out a msgbox of what is saved in a
variable of type variant.
The way I would like this to work is the following:
Save messages in a table.
When ever I need to bring one out I open the table where
the messages are saved at. I get the message and I save it
into the variant variable. So then I just go MsgBox [Name
Of Variant]. This works, but it all comes out in one
whole line. I tried saving the message as follows:
"This is an example" & vbnewline & "This is the second
line"
I saved this message in the table as is, with the ", &,
and vbnewline.
So then in the program it reads the message and saves it
into the variable. But when i print out the variable, it
print out the whole thing as if it were a string. It
prints the ", &, and vbnewline.
Is there any way I can fix this?
Thank you
I been trying to print out a msgbox of what is saved in a
variable of type variant.
The way I would like this to work is the following:
Save messages in a table.
When ever I need to bring one out I open the table where
the messages are saved at. I get the message and I save it
into the variant variable. So then I just go MsgBox [Name
Of Variant]. This works, but it all comes out in one
whole line. I tried saving the message as follows:
"This is an example" & vbnewline & "This is the second
line"
I saved this message in the table as is, with the ", &,
and vbnewline.
So then in the program it reads the message and saves it
into the variable. But when i print out the variable, it
print out the whole thing as if it were a string. It
prints the ", &, and vbnewline.
Is there any way I can fix this?
Thank you