R
Richstein
I have the following code written to save files in a
certain location. However, if the file already exists, no
prompt appears asking if I want to replace. Is there a
way to do this? Thank you.
Sub Saveit()
Dim fileName As String
fileName = InputBox("Enter File Name")
ActiveDocument.SaveAs "F:\class\" & fileName
End Sub
certain location. However, if the file already exists, no
prompt appears asking if I want to replace. Is there a
way to do this? Thank you.
Sub Saveit()
Dim fileName As String
fileName = InputBox("Enter File Name")
ActiveDocument.SaveAs "F:\class\" & fileName
End Sub