Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Cell address to Points

Is there a way to convert a active cells address to points for a location to
draw a autoshape?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Cell address to Points

CS,

You can use a combination of the range object Top, Left, Width, and Height
properties to get the location of any of a cell's corners. For cell C3, for
example:

Top is Range("C3").Top
Bottom is Range("C3").Top + Range("C3").Height
Left is Range("C3").Left
Right is Range("C3").Top + Range("C3").Width

so you can get any combination of Top Bottom, Right and Left.

HTH,
Bernie
MS Excel MVP

"CStephenson" wrote in message
...
Is there a way to convert a active cells address to points for a location

to
draw a autoshape?




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 to Format numbers from percentage points to basis points Robaroo Excel Discussion (Misc queries) 2 April 3rd 23 06:58 PM
Return cell address of a cell based on contents of cell. Danny Excel Worksheet Functions 4 November 15th 08 03:11 AM
text in Bullets/points in cell kamal New Users to Excel 1 December 30th 07 10:28 PM
bullet points in one cell? Bob H Excel Discussion (Misc queries) 2 August 18th 06 12:12 AM
how do I separate different points within a cell in Excel Niceness Excel Discussion (Misc queries) 1 July 26th 05 09:00 PM


All times are GMT +1. The time now is 11:44 PM.

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"