Pulling Lists from Userforms to a New Worksheet

jimmybangs

New Member
Joined
Nov 28, 2008
Messages
36
Hi,

I've created a UserForm in Excel that feeds a workbook - I would like to create a user form that can create a separate worksheet (new document) based around the selection I make in the form.

e.g.

My form looks like this:

<a href="http://www.flickr.com/photos/67298551@N07/6169185913/" title="ListBuilder by digiteers, on Flickr"><img src="http://farm7.static.flickr.com/6174/6169185913_4fd654a631.jpg" width="304" height="137" alt="ListBuilder"></a>

The data looks like this:

<a href="http://www.flickr.com/photos/67298551@N07/6169720226/" title="ListBuilder2 by digiteers, on Flickr"><img src="http://farm7.static.flickr.com/6154/6169720226_3b92462b86.jpg" width="394" height="335" alt="ListBuilder2"></a>

Say if I wanted to create a list by selecting 21/09/2011 and Healthcare it would only pull this information into the seperate document - can anybody help?

Cheers,
James
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hi James,

I created this code for someone last month, it is using filters and placing the data into another sheet, but you can change that (I hope), theres a couple of things to change like the combo box names, and column information.

Hope it helps you out.

Private Sub cmdTryME_Click()
Dim LR As Long, i As Long
With Sheets("Sheet1")
LR = .Range("E" & Rows.Count).End(xlUp).Row
For i = 1 To LR
If .Range("E" & i).Value = Me.cboMSG.Text And .Range("J" & i).Value = Me.cboDate.Text Then .Rows(i).Copy Destination:=Sheets("Rooms").Range("A" & Rows.Count).End(xlUp).Offset(1)
Next i
End With
Sheets("Rooms").Select
frmShow.Hide

End Sub
 
Upvote 0
Its in a normal workbook.

Send me PM with your email details I will send you a copy.
 
Upvote 0

Forum statistics

Threads
1,215,461
Messages
6,124,953
Members
449,198
Latest member
MhammadishaqKhan

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