Acie
2004-02-12 21:31:06 UTC
I just tried using the Replace function for the first time, and it is not working for me
Any ideas/thoughts??? -Do I have to include some external reference for it to work??
The following subroutine creates the following
Compile Error
Wrong number of arguments or invalid property assignment
Private Sub Command2_Click(
Dim str1 As Strin
Dim str2 As Strin
Dim str3 As Strin
Dim str4 As Strin
str1 = "This is a new brave world full of strangers with weird BRAVE habits
str2 = "brave
str3 = "weak
str4 = replace(str1, str2, str3
End Su
Any ideas/thoughts??? -Do I have to include some external reference for it to work??
The following subroutine creates the following
Compile Error
Wrong number of arguments or invalid property assignment
Private Sub Command2_Click(
Dim str1 As Strin
Dim str2 As Strin
Dim str3 As Strin
Dim str4 As Strin
str1 = "This is a new brave world full of strangers with weird BRAVE habits
str2 = "brave
str3 = "weak
str4 = replace(str1, str2, str3
End Su