Save workbook with 10 different names

  • Thread starter Thread starter Ctech
  • Start date Start date
C

Ctech

Hi

I want to save my workbook with 10 different name, and the date o
saving.

format: existing name of workbook + i.e. Martin Hansen + mm-yyyy
.xls


Even better would be to save the .xls files as .zip files, howeve
after some research it seems that it isn't the easiest task. So I gues
.xls would d
 
Assume the names are in Range(A1:A10) of the active sheet.
sName = Activeworkbook.FullName
sName = Left(sName,len(sname)-4)
for each cell in Range(A1:A10)
activeworkbook.SaveCopyAs sName & cell.Value & format(Date, _
"mm-yyyy") & .xls
Next
 
Hi Ctech

Have you try the suggestions yesterday ? in this tread
Save workbook, in .zip
 
No I haven't had the time to try it yet. However I will later. Ill keep
u posted.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top