The Eric
July 28th, 1999, 01:05 AM
I am trying to use Replace in a macro for devstudio 6 sp3 but it keeps giving me the error Type mismatch 'Replace'
I even copied the sample code right out of the documentation and it gives the same error.
sub testing
Dim MyString
MyString = Replace("XXpXXPXXp", "p", "Y")
end sub
I'm useing Visualstudio 6 Proffesional SP3 on a pIII450 256MBRam running Win98
any sudjestions would be helpfull, and I have tried reinstalling everything.
Eric
I even copied the sample code right out of the documentation and it gives the same error.
sub testing
Dim MyString
MyString = Replace("XXpXXPXXp", "p", "Y")
end sub
I'm useing Visualstudio 6 Proffesional SP3 on a pIII450 256MBRam running Win98
any sudjestions would be helpfull, and I have tried reinstalling everything.
Eric