ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Worksheet in form (https://www.excelbanter.com/excel-programming/316294-worksheet-form.html)

Maz[_2_]

Worksheet in form
 
Hi all,

I want to create a VB form that displays a section of a
worksheet Range A1:B7 in sheet 3. I can add in an active x
control MS spreadsheet 10.0 but that simply show a blank
sheet. How do I link it to the range I want displayed?

Many thanks

Maz

Jim Rech

Worksheet in form
 
As far as I know there is no way to directly link the spreadsheet component
to an Excel worksheet. So you'd have to populate the SS component by code.
Like this where the SS component is on a userform:

Me.Spreadsheet1.Range("A1").Value = Sheet1.Range("A1").Value

--
Jim Rech
Excel MVP
"Maz" wrote in message
...
| Hi all,
|
| I want to create a VB form that displays a section of a
| worksheet Range A1:B7 in sheet 3. I can add in an active x
| control MS spreadsheet 10.0 but that simply show a blank
| sheet. How do I link it to the range I want displayed?
|
| Many thanks
|
| Maz




All times are GMT +1. The time now is 07:14 PM.

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