![]() |
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" |
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" |
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" |
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" |
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" |
All times are GMT +1. The time now is 09:51 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com