VBA to create multi-sheet workbooks from dataset

valverde311

New Member
Joined
Apr 4, 2011
Messages
4
Hi there,

I've read several examples where people refer to copying data from one worksheet to several different worksheets in the same workbook, then saving each worksheet as a new workbook.

What I'm trying to do: Create new workbooks containing two sheets from data in a separate workbook.

The first sheet in my master workbook has questions in column A and responses in column B. The second sheet has defined lists that are used for the drop-down choices in column B of the first sheet.

Additionally, I have a "data" workbook that has 100 columns that are each user's set of responses. What I'd like to do is create a macro that copies each column from the data workbook, pastes values into column B of the master workbook, then saves the workbook with the title of the user who it is for. Each of these "daughter" workbooks would contain two sheets, just like the master, because the second sheet contains the data validation for the responses.

Does anybody have any idea how I would do this?
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,224,602
Messages
6,179,839
Members
452,948
Latest member
UsmanAli786

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