Macro to add new sheet that copies previous

masbery

New Member
Joined
Oct 1, 2011
Messages
3
Hello,

I need to create a workbook for monthly wages that has a summary sheet at the start with each months wages total. The first months wages sheet will be created manually to make sure that all the required info is there. As this is an organic thing and people are added and removed constantly i can't just create 12 sheets with the same information on, someone might be missed from one month to the next if they haven't been added / removed from the previous month if you see what i mean.

Hence I then need to make a button which copies the last sheets information onto a new sheet, but at the same time creates a link to the summary sheet so that the total from that month appears on the summary sheet. These totals will then be added up to give the years total wages.

Unfortunately I've little / no experience with VB so will need some help with all of this.

Many thanks.

Mark.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Having thought about it, you could have a master sheet that you do all of the modifications to, then the 12 other sheets automatically update from this one, but if you have already entered wage information on some of the sheets this won't be affected. Not sure which method would be easier.

Thoughts / suggestions greatly appreciated.
 
Upvote 0

Forum statistics

Threads
1,224,584
Messages
6,179,691
Members
452,938
Latest member
babeneker

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