V
vbaNOOB
Hi all,
I'm thinking if I could execute a line as command in vba (Sorry for my bad
english)
Ex:
Dim str As String
str = "msgbox " & Chr(34) & "hihi" & Chr(34)
As u can see, str contain sth like this : msgbox "hihi"
And it's valid vba command.
Is that a way that I can execute the str as a command in vba
If my memory serve me well, I can do this in visualfoxfro
But I just forget the syntax.
Many thanks
I'm thinking if I could execute a line as command in vba (Sorry for my bad
english)
Ex:
Dim str As String
str = "msgbox " & Chr(34) & "hihi" & Chr(34)
As u can see, str contain sth like this : msgbox "hihi"
And it's valid vba command.
Is that a way that I can execute the str as a command in vba
If my memory serve me well, I can do this in visualfoxfro
But I just forget the syntax.
Many thanks