Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default excel positioning in points for autoshapes

i want to know how to determine where (in Points) to position an autoshape
using vba (without recording a macro).
aparently shapes lines etc use a point system to position themselves using
start x axis, start y axis, end x asis and end y axis.

1. is it possible to view how many point there in in relation to a cell
reference, and
2. is it even possible to figure out the point system without recording a
macro???

--
"The difference between Possible and Impossible is the measure of ones will"
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default excel positioning in points for autoshapes

this web site might give you some help:

http://webdesign.about.com/gi/dynami...nen/units.html

"Kelzina" wrote:

i want to know how to determine where (in Points) to position an autoshape
using vba (without recording a macro).
aparently shapes lines etc use a point system to position themselves using
start x axis, start y axis, end x asis and end y axis.

1. is it possible to view how many point there in in relation to a cell
reference, and
2. is it even possible to figure out the point system without recording a
macro???

--
"The difference between Possible and Impossible is the measure of ones will"

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default excel positioning in points for autoshapes

thanks for the advice... but im not wanting to know the points for a web page
im only wanting to know the points for excel, and how you would figure it out
what point measurement you'd need for a perticular section in excel, ie some
form of ruler etc ... is there such a thing??
--
"The difference between Possible and Impossible is the measure of ones will"


"JLGWhiz" wrote:

this web site might give you some help:

http://webdesign.about.com/gi/dynami...nen/units.html

"Kelzina" wrote:

i want to know how to determine where (in Points) to position an autoshape
using vba (without recording a macro).
aparently shapes lines etc use a point system to position themselves using
start x axis, start y axis, end x asis and end y axis.

1. is it possible to view how many point there in in relation to a cell
reference, and
2. is it even possible to figure out the point system without recording a
macro???

--
"The difference between Possible and Impossible is the measure of ones will"

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 747
Default excel positioning in points for autoshapes

Try keying off of cell top and left properties or column left and row top
properties respectively:-

Sub Test()
Dim T, L
With Range("J10")
L = .Left
T = .Top
End With
With ActiveSheet.Shapes(1)
.Top = T
.Left = L
End With
MsgBox "Shape moved to top-left corner of cell J10"
With Columns(5)
L = .Left + .Width / 2
End With
With Rows(12)
T = .Top + .Height / 2
End With
With ActiveSheet.Shapes(1)
.Top = T
.Left = L
End With
MsgBox "Shape now moved to center of cell E12"
End Sub

Regards,
Greg


"Kelzina" wrote:

thanks for the advice... but im not wanting to know the points for a web page
im only wanting to know the points for excel, and how you would figure it out
what point measurement you'd need for a perticular section in excel, ie some
form of ruler etc ... is there such a thing??
--
"The difference between Possible and Impossible is the measure of ones will"


"JLGWhiz" wrote:

this web site might give you some help:

http://webdesign.about.com/gi/dynami...nen/units.html

"Kelzina" wrote:

i want to know how to determine where (in Points) to position an autoshape
using vba (without recording a macro).
aparently shapes lines etc use a point system to position themselves using
start x axis, start y axis, end x asis and end y axis.

1. is it possible to view how many point there in in relation to a cell
reference, and
2. is it even possible to figure out the point system without recording a
macro???

--
"The difference between Possible and Impossible is the measure of ones will"

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default excel positioning in points for autoshapes

I guess the short answer is no, there is no ruler as such. The distances can
be measured in pixels per inch, but even that varies from one product to
another i.e. 72 ppi, 96 ppi, etc. The best solution I can think of is trial
and error using the references of Top and Left with pixels until you find
what your screen measurements are for ppi. Then you can use that as your
guideline for placing shapes. It might be an optical illusion, but it seems
that on my monitor the same number of pixels are shorter from top to bottom
than from side to side. Good Luck!

"Kelzina" wrote:

thanks for the advice... but im not wanting to know the points for a web page
im only wanting to know the points for excel, and how you would figure it out
what point measurement you'd need for a perticular section in excel, ie some
form of ruler etc ... is there such a thing??
--
"The difference between Possible and Impossible is the measure of ones will"


"JLGWhiz" wrote:

this web site might give you some help:

http://webdesign.about.com/gi/dynami...nen/units.html

"Kelzina" wrote:

i want to know how to determine where (in Points) to position an autoshape
using vba (without recording a macro).
aparently shapes lines etc use a point system to position themselves using
start x axis, start y axis, end x asis and end y axis.

1. is it possible to view how many point there in in relation to a cell
reference, and
2. is it even possible to figure out the point system without recording a
macro???

--
"The difference between Possible and Impossible is the measure of ones will"

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 can I delete a series of autoshapes in Excel in one hit? Ian Richards Excel Worksheet Functions 3 December 5th 08 03:00 PM
Excel 2007 and Autoshapes Varne Excel Discussion (Misc queries) 2 May 24th 08 01:58 PM
Selecting Autoshapes in Excel 2003 Varne Excel Discussion (Misc queries) 2 May 24th 08 01:53 PM
excel positioning in Points for vba shapes Kelzina Excel Worksheet Functions 1 November 15th 06 02:22 PM
Can I select and Group Autoshapes in Excel 97 ? diglas1 via OfficeKB.com New Users to Excel 17 June 13th 06 02:42 AM


All times are GMT +1. The time now is 07:47 AM.

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"