right this worked fine at home but does not at work!!!!
Code
Dim stdText As String
stdText = Form_test.txtdate
MyArray = Array("<", ">", "|", "/", "*", "\", "?", """")
For x = LBound(MyArray) To UBound(MyArray)
stdText = Replace(stdText, MyArray(x), "_", 1)
Next x
MsgBox stdText
Form_test.txtdate = stdText
Display More
stdtext is the date format "05/02/2006" after this runs on my pc which is running office 2000 it converts it to "05_02_2006"
now at work we are running 97 which probably is the reason why it does not work! Please can anyone help me?