G
Guest
I got some help earlier and i have this working:
Public Sub Macro1()
With ActiveWorkbook
.SaveAs Filename:="(filepath)" & "\" &
Worksheets("sheet1").Range("A3").Text & Worksheets("sheet1").Range("A5").Text
& ".xls"
End With
End Sub
but i need it to run ONLY if this is true:
If Target.Address = "A3" & Target.Address = "A5" And Target.Value = Not Null?
I hope that is right. Also if A3 (name) or A5 (date) are null, can i get it
to prompt for those values?
Public Sub Macro1()
With ActiveWorkbook
.SaveAs Filename:="(filepath)" & "\" &
Worksheets("sheet1").Range("A3").Text & Worksheets("sheet1").Range("A5").Text
& ".xls"
End With
End Sub
but i need it to run ONLY if this is true:
If Target.Address = "A3" & Target.Address = "A5" And Target.Value = Not Null?
I hope that is right. Also if A3 (name) or A5 (date) are null, can i get it
to prompt for those values?