ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Add a Spreadsheet to a VB Form (https://www.excelbanter.com/excel-programming/312524-add-spreadsheet-vbulletin-form.html)

dan

Add a Spreadsheet to a VB Form
 
All,

I am attempting to add a portion of an excel spreadsheet
to a VB Form.

Lets say that I have a range from A1:D10 on Sheet1. I
would want that portion of the sheet to appear on the
Form.

Any ideas?

Nacho Nachev

Add a Spreadsheet to a VB Form
 
Speaking theoretically, you may add grid control to your form and
import/export the data through code. I don't know if it's possible to embed
the spreadsheet as control on a form or probably this will be quite an
effort. There are some good grid ActiveX control available, but I've not
done this for years, so prefer not ro speak more.

HTH,
Nacho




"Dan" wrote in message
...
All,

I am attempting to add a portion of an excel spreadsheet
to a VB Form.

Lets say that I have a range from A1:D10 on Sheet1. I
would want that portion of the sheet to appear on the
Form.

Any ideas?




Tom Ogilvy

Add a Spreadsheet to a VB Form
 
Put a multicolumn listbox on the form and assign its rowsource to
sheet1!A1:D10

--
Regards,
Tom Ogilvy

"Dan" wrote in message
...
All,

I am attempting to add a portion of an excel spreadsheet
to a VB Form.

Lets say that I have a range from A1:D10 on Sheet1. I
would want that portion of the sheet to appear on the
Form.

Any ideas?





All times are GMT +1. The time now is 09:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com