C
Candyman
I have an Application that exports Recordsets out to Excel. It opens the
file, saves multiple recordsets, calculates, and now I want to save this file
with multiple filenames after deleting unnecessary tabs per department. So I
delete all but Summary and the 'Mens Dept' tabs and graphs.
How do I save the file as a particular name?
Error:"Object does not support this property or method."
I have a portion of the code that calculates and deletes any preceding file
of the same path and name. These work. it jams on the SaveAs line:
With xlsApp.Application
.Calculate
.Run ("Preparation.ConvertMe")
.DisplayAlerts = False
If FileExists(All_Filename) = True Then Kill All_Filename
.Workbooks.SaveAs FileName:=All_Filename
.Workbooks.Close
End With
Any hints?
I really need to loop through the different departments, but I think I can
get that part.
Much thanks.
Candyman
file, saves multiple recordsets, calculates, and now I want to save this file
with multiple filenames after deleting unnecessary tabs per department. So I
delete all but Summary and the 'Mens Dept' tabs and graphs.
How do I save the file as a particular name?
Error:"Object does not support this property or method."
I have a portion of the code that calculates and deletes any preceding file
of the same path and name. These work. it jams on the SaveAs line:
With xlsApp.Application
.Calculate
.Run ("Preparation.ConvertMe")
.DisplayAlerts = False
If FileExists(All_Filename) = True Then Kill All_Filename
.Workbooks.SaveAs FileName:=All_Filename
.Workbooks.Close
End With
Any hints?
I really need to loop through the different departments, but I think I can
get that part.
Much thanks.
Candyman