LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
mrt mrt is offline
external usenet poster
 
Posts: 70
Default RangeFromPoint ... on a chartsheet ?

Hi,

The RangeFromPoint method cannot be used on a chartsheet to get the Shape
below given coordinates.

For example, the following code with return the name of the rectangle, if
you draw a rectangle at the top-left corner of a worksheet, but it will
generate a bug for a chart sheet:

Public Sub MyName()

Dim ObjShape As Object

Set ObjShape = ActiveWindow.RangeFromPoint(x:=200, y:=200)
If Not ObjShape Is Nothing Then
MsgBox ObjShape.Name
End If

End Sub

Is there something equivalent for chartsheets?

If not, it would be great that RangeFromPoint is available on Chartsheets.

Regards,

Mr T

 
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
Excel 2007 and chart as chartsheet Bob Flanagan[_2_] Charts and Charting in Excel 1 August 19th 08 11:32 PM
Is it possible to hyperlink from a worksheet to a chartsheet? kippers Charts and Charting in Excel 1 January 16th 07 12:15 PM
1 ChartSheet, 10 worksheets Martin Wheeler Charts and Charting in Excel 3 January 22nd 05 09:22 PM
RangeFromPoint Only Finds ShapesAt 0, 0 coordinates gfhunt Excel Programming 10 May 23rd 04 04:26 AM
Does RangeFromPoint Method return ranges? Bernie Deitrick Excel Programming 4 May 5th 04 09:51 PM


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