LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Why Spreadsheet worksheet is not a worksheet?

Appreciate very much if you can help.
I add a Spreadsheet control on my userform, and want to reference a
worksheet on the control. But got a "Type mismatch" error.


Set Sht = Me.Controls.Add("OWC10.Spreadsheet.10")

Dim Wksht As Worksheet
Set Wksht =Sht. Worksheets("Sheet1")

Why the worksheet on the Spreadsheet control is not of type worksheet?


George

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
e-mail a worksheet from a spreadsheet Dale Excel Discussion (Misc queries) 2 March 24th 09 04:21 PM
Reporting on multi worksheet spreadsheet Cottamweb Excel Worksheet Functions 2 March 26th 08 03:55 PM
Worksheet or Spreadsheet Alexey Excel Worksheet Functions 1 November 28th 07 11:29 AM
Extracting Worksheet names within a spreadsheet Sunny Excel Discussion (Misc queries) 8 September 23rd 07 10:57 PM
archiving spreadsheet rows from one worksheet to another [email protected][_3_] Excel Programming 0 October 5th 06 02:47 PM


All times are GMT +1. The time now is 12:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"