Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create a macro that saves a spreadsheet under a new name

Status
Not open for further replies.

Jonseya

Instructor
Apr 26, 2006
4
GB
Hi

Could anybody help me with a problem, I am trying to create a macro in an excel spreadsheet that will save the file under a certain name but each time the macro is run it incriments the number each time. i.e. the first time the file is run it will be Part1.xls then part2.xls and then part3.xlsetc.
 
please post this in the VBA forum (Forum707)

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top