Creating an archive sheet.

Arganth

New Member
Joined
Oct 9, 2002
Messages
2
Hi all, please could someone help a newbie poster?

Basically I've a workbook which is full of sheets copied from a master, plus a summary sheet, an archive sheet and the master. I want to create a macro which will take certain data from sheet n, copy just that data into the next available row on the archive sheet, then delete sheet n without losing the newly added data in the archive.

Is this possible? The problem I seem to be having so far is referencing a sheet which has just been deleted!

Thanks in advance.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Don't delete the sheet, just clear the cells contents (if not formula) and use the same sheet. in other words set up a form to enter your data then transfer the data before clearing it
 
Upvote 0
Thanks for the suggestion.

The problem is there won't necessarily be a fixed amount of sheets in the book, and removing a sheet is fairly important to keep things simple for the user.
 
Upvote 0

Forum statistics

Threads
1,214,669
Messages
6,120,828
Members
448,990
Latest member
rohitsomani

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