Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default How do you find ClassTypes Info..?

Trying to do..

With ActiveSheet.OLEObjects.Add(ClassType:=Forms.Image etc...
.Name="TmpImage"

Then
ActiveSheet.OLEObjects(TmpImage).Delete

Want to Investigate Further Other Available
ClassTypes (Sounds/Video Etc..)
What is the best way to find the ClassTypes Available
and properties etc for the Class...?

Thanx for any Info
Andrew


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default How do you find ClassTypes Info..?

Search "OLE Programmatic Identifiers" in VBA help

include the classtype in quotes
ClassType:="Forms.Image.1"

Simply remember "Forms.control-name.1"

to return it -

MsgBox ActiveSheet.OLEObjects(1).progID

Regards,
Peter T

"Andrew" wrote in message
...
Trying to do..

With ActiveSheet.OLEObjects.Add(ClassType:=Forms.Image etc...
.Name="TmpImage"

Then
ActiveSheet.OLEObjects(TmpImage).Delete

Want to Investigate Further Other Available
ClassTypes (Sounds/Video Etc..)
What is the best way to find the ClassTypes Available
and properties etc for the Class...?

Thanx for any Info
Andrew




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default How do you find ClassTypes Info..?

Thanx Peter will give it a Wizz..!
Andrew

"Peter T" <peter_t@discussions wrote in message
...
| Search "OLE Programmatic Identifiers" in VBA help
|
| include the classtype in quotes
| ClassType:="Forms.Image.1"
|
| Simply remember "Forms.control-name.1"
|
| to return it -
|
| MsgBox ActiveSheet.OLEObjects(1).progID
|
| Regards,
| Peter T
|
| "Andrew" wrote in message
| ...
| Trying to do..
|
| With ActiveSheet.OLEObjects.Add(ClassType:=Forms.Image etc...
| .Name="TmpImage"
|
| Then
| ActiveSheet.OLEObjects(TmpImage).Delete
|
| Want to Investigate Further Other Available
| ClassTypes (Sounds/Video Etc..)
| What is the best way to find the ClassTypes Available
| and properties etc for the Class...?
|
| Thanx for any Info
| Andrew
|
|
|
|


Reply
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
How do you find ClassTypes..? Andrew[_9_] Excel Discussion (Misc queries) 1 December 5th 08 08:05 PM
What is VBA and where can I find more info on it? Minnie Excel Worksheet Functions 1 June 23rd 08 08:38 AM
Getting info from FIND/REPLACE Gary''s Student Excel Programming 4 December 24th 06 01:10 PM
How do you find info in a workbook? Rick Fabrizi Excel Discussion (Misc queries) 5 October 10th 05 06:58 PM
Help! Find info then copy and paste Simon Excel Programming 1 May 11th 05 03:56 PM


All times are GMT +1. The time now is 05:26 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"