We help IT Professionals succeed at work.
Get Started

save file using sheet name and text from a cell in another sheet

Jagwarman asked
Last Modified: 2015-03-19
I need to save each sheet in my workbook [Except for the sheet named Rec]

The path is  C:\Cpn\CA\Events\Red\2015 [which will change every year] \Mar 15 [which will change each month]

*I would like the macro to create a folder for year and month if there is no folder already there

the file name will be the sheet name and then the name in cell C38 from Sheet named Rec.

so file name would be like: Book3 - AB123456 - Red - 160315 [book3 being sheet name] [ - AB123456 - Red - 160315 being in cell C38 in sheet Rec]

so file path and name would be:  C:\Cpn\CA\Events\Red\2015\Mar 15\Book3 - AB123456 - Red - 160315.xls

Thanks in advance
Watch Question
IT Manager
This problem has been solved!
Unlock 2 Answers and 6 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE