I have this code But for some reason it does not work. It pops up a inputbox and I type the file name in the box and hit enter it suppose to find the file in word but does nothing,
Any Ideas?
Any Ideas?
Code:
Sub FindFile()
Dim GetFile()
Dim Filename As String
On Error Resume Next
Filename = InputBox("What File do you wish to open?")
Workbooks.Open ("C:\" & Filename & ".DOC")
End Sub