save as & copy worksheet code query

fry

Active Member
Joined
Apr 25, 2007
Messages
411
Greetings everyone...

Can anyone help with a couple of queries I have...

I have a purchase order that is saved when completed using the following code 'Application.ActiveWorkbook.Save' but I'd like it at the same time to save another copy of the workbook as a backup. Is this possible?

Also on the same worksheet ("new purchase order") my code copies it to a new purchase order and gives it a consecutive order number. It then clears the "new purchase order" sheet to start again. My query is this...

Instead of clearing the "new purchase order" sheet, is it possible to delete the "new purchase order" sheet that was just used and then simply create a new "new purchase order" sheet by copying it from a "template" sheet I have created??

Sorry, a bit long winded but I'm getting very confused!! Incidentally can anyone recommend a good book for excel programming for the complete novice??

Thanks in advance :)
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Also on the same worksheet ("new purchase order") my code copies it to a new purchase order and gives it a consecutive order number. It then clears the "new purchase order" sheet to start again. My query is this...

sorry to hyjack but how did you do this, this is what i want to do,
 
Upvote 0
Hi Monkey

I'll send you the code if you want to use bits or pick it apart.

Whats your email address ?? :)
 
Upvote 0
Hi Monkey

I've emailed the code to you.

Anyone any ideas on the above????
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,580
Members
448,972
Latest member
Shantanu2024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top