i have written a piece of code that when a button is clicked it opens up microsoft word:
Dim Hideshow As String
Hideshow = "Hiding and Showing forms.txt"
retval = Shell("C:\program files\Microsoft Office\OFFICE11\winword.exe " & Hideshow)
but im not sure if everyones microsoft word .exe will be in the same place, is there anyway to get round this probelm so that everyone will be able to open it with word?