File Backup & Rename As Cell

  • Thread starter Thread starter Bob Beard
  • Start date Start date
B

Bob Beard

Excel 2000

I need to save a file into another folder [u:\BackUp]
using whatever is in cell H6 [a number] as the file name.

I then need to go back to the original file and increment
cell H6 by 1.

Any help much appreciated.

Bob.
 
ActiveWorkbook.SaveAs Filename:= "u:\Backup\" & Range("H6").Value &
".xls"
Range("H6").Value = Range("H6").Value + 1

This will change the name of the activeworkbok, so if that is not what is
desired, you could use SaveCopyAs, instead of SaveAs.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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