S 
		
								
				
				
			
		Sandy
ThisWorkbook.SaveCopyAs Filename:="C:\Folder\XXXXX-" & inputText &
".xls"
however if the file already exists I get an error "1004".
I presume I require something like
If 'ThisWorkbook exists' Then
'overwrite the existing file'
Else
ThisWorkbook.SaveCopyAs Filename:="C:\Folder\XXXXX-" & inputText &
".xls"
End If
Can anyone help with the required syntax for 'ThisWorkbook exists' and
'overwrite the existing file' - or if there is a better option.
Many thanks in advance.
Sandy
				
			".xls"
however if the file already exists I get an error "1004".
I presume I require something like
If 'ThisWorkbook exists' Then
'overwrite the existing file'
Else
ThisWorkbook.SaveCopyAs Filename:="C:\Folder\XXXXX-" & inputText &
".xls"
End If
Can anyone help with the required syntax for 'ThisWorkbook exists' and
'overwrite the existing file' - or if there is a better option.
Many thanks in advance.
Sandy
