Send Userform Data to Multiple Worksheets

mrbmarsh

New Member
Joined
Nov 22, 2015
Messages
5
I am in the process of creating a MultiPage userform that has 4 pages:
Page 1 = Project Information
Page 2 = Daily Meter Readings
Page 3 = Job Mix Formula
Page 4 = Natural Gas Usage

I have created a command button in the main userform called "Submit". When I click the "Submit" command button, I want the data entered in Page 1 and Page 2 to be stored in the "Sheet1" worksheet, some of the data entered in Page 1 and Page 2 and all data in Page 3 to be stored in the "Sheet2" worksheet, and some of the data entered in Page 1 and Page 2 and all data entered in Page 4 to be stored in the "Sheet3" worksheet. Does anyone know the best way to do this and reference code I could try? Would it be easier to send all of the data to the same worksheet and extract the columns I need into other worksheets (a one step process would be more convenient)? I am fairly green when it comes to VBA programming. Any help would be greatly appreciated.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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