B
Barney Bird
I searched this newsgroup's archive on Google but could not find this
question answered.
I have a macro-driven weekly caseworker inventory report I run in Excel.
The inventory report is set up as a template I'll call WklyInvRpt.xls. I
save each week's report under a file name like WklyInvRpt-03222004.xls. In
order to avoid saving the macro with each week's report, I have the VBA code
loaded into an addin macro which is saved as WklyInvRpt.xla. The addin
macro runs the report. So far so good.
I'm having a problem with the procedure that automatically saves the
completed report. The procedure saves the addin file (WklyInvRpt.xla) as
WklyInvRpt-03222004.xls instead of the completed inventory report. How do I
get the SaveAs procedure in the addin macro to save the completed report
instead of the addin file?
Barney Byrd
question answered.
I have a macro-driven weekly caseworker inventory report I run in Excel.
The inventory report is set up as a template I'll call WklyInvRpt.xls. I
save each week's report under a file name like WklyInvRpt-03222004.xls. In
order to avoid saving the macro with each week's report, I have the VBA code
loaded into an addin macro which is saved as WklyInvRpt.xla. The addin
macro runs the report. So far so good.
I'm having a problem with the procedure that automatically saves the
completed report. The procedure saves the addin file (WklyInvRpt.xla) as
WklyInvRpt-03222004.xls instead of the completed inventory report. How do I
get the SaveAs procedure in the addin macro to save the completed report
instead of the addin file?
Barney Byrd