The following code is throwing a 429 error when opening the selected document (code in red). How do I correct this?
Code:
Dim f As Object
Dim FileName As String
Set fd = Application.FileDialog(1)
Dim FileChosen As Integer
FileChosen = fd.Show
If FileChosen <> -1 Then
MsgBox "No file opened"
Else
FileName = fd.SelectedItems(1)
[COLOR="Red"]Documents.Open (FileName)[/COLOR]
End If
Do other stuff...
End Sub