Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to find what object type is returned from Selection property ?

Hi,

I need to check if the object returned by "Selection" property is "Range"
type.
Is there a way to find it out ?

Currently I've done it using "On Error Goto" handling exceptions but I do
not find this solution as satisfactory.

Regards,
Krzysztof


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default How to find what object type is returned from Selection property ?

I need to check if the object returned by "Selection"
property is "Range" type. Is there a way to find it out ?


MsgBox TypeName(Selection)

HTH,
Merjet


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 I find out property values for each control object? Bob Allen[_2_] Excel Discussion (Misc queries) 3 July 30th 09 11:23 PM
How do I access to property of chart object ? HP. Jung Charts and Charting in Excel 0 April 11th 07 02:36 PM
Object Variable Not Set Error on Selection object Jean Excel Worksheet Functions 3 July 24th 06 06:45 PM
Page Object property Matt[_18_] Excel Programming 1 October 2nd 03 01:43 PM
Object not supporting property or method Stuart[_5_] Excel Programming 3 August 23rd 03 07:45 AM


All times are GMT +1. The time now is 04:35 AM.

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

About Us

"It's about Microsoft Excel"