Copy a Worksheet based on Outline

atm

New Member
Joined
Sep 4, 2012
Messages
2
Hello!

There is a budget worksheet that has several outlines:

Level 3: Has values/numbers for the details
Level 2: Has formulas/(sub)totals for level 3 items
Level 1: Has formulas/Totals for Level 2 items

My boss wants me to create a macro that will "copy" the worksheet but:
1. Will not copy Level 3 items
2. Will copy level 2 items but not as formulas but as values
3. Will preserve the formulas for level 1 items.

I d not have much experience programming in Excel VBA. And I would like to ask the community on how I could do this.

Thanks so much in advance.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,214,583
Messages
6,120,383
Members
448,956
Latest member
JPav

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