N
new nerd
I need the following statements to result in a message box
when the user types in a file that does not exist. Does
anyone know why it doesn't work? THANKS!!
Dim pName As String
pName = InputBox("Enter Name of Workbook File or Click
OK to Exit")
If Len(pName) = 0 Then
MsgBox ("File not found")
End If
Selection.InsertFile FileName:="c:/Workbook/" & pName
when the user types in a file that does not exist. Does
anyone know why it doesn't work? THANKS!!
Dim pName As String
pName = InputBox("Enter Name of Workbook File or Click
OK to Exit")
If Len(pName) = 0 Then
MsgBox ("File not found")
End If
Selection.InsertFile FileName:="c:/Workbook/" & pName