Displaying spreadsheet data in Visual Basic user form?

lincolnho

Board Regular
Joined
May 12, 2011
Messages
63
Does anyone know how to display cells of a spreadsheet on the Userform of the visual basic editor?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
When you are in the userform editor, you can right-click on the controls toolbox and select Additional Controls. Select from the list Microsoft Spreadsheet 11.0. This will add a control to the toolbox to allow you to place a mini spreadsheet on your userform.

If you have Excel 2007 or later, you may 1st need to go to Tools\References and select the Microsoft Office Web Components 11.0 library. Then it will show up in your control toolbox Additional Controls list.
 
Upvote 0
Thank you, you're amazing. Now that I re-read my question, you did technically answer it. However, I actually mean displaying a set of spreadsheet information that already exists on the current file (like sheet 1, sheet 2, pivot table, etc). I can't seem to find a way to edit that spreadsheet in the Form that I added. Any suggestions?
 
Upvote 0

Forum statistics

Threads
1,224,570
Messages
6,179,610
Members
452,931
Latest member
The Monk

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