Worksheet in form

  • Thread starter Thread starter Maz
  • Start date Start date
M

Maz

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
 
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
| 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top