R
Robert Christie
Hi everyone
Could someone explain cell location in relation to top of
row 1 and left hand side of column A?.
If I run this macro it places a button on a worksheet
that covers the area of cell B2 on my xl2002.
ActiveSheet.Buttons.Add(48, 12.75, 48, 12.75).Select
It appears the top left hand corner of the button is the
starting point for positioning the button and therefore
the cell as well.
A column width is shown as 8.43 (64 pixels) if you
multiply 64 x 0.75 you get 48, the same as the 48 in the
code above. Also row height is shown as 12.75 (17 pixels)
if you multiply 17 x 0.75 you get 12.75 again the same as
in the code.
Questions:
1. What do the macro numbers represent? (points)
2. Is it possible to highlight a cell and run a macro or
function that gives the cells measurements in relation to
the top and side edges of a worksheet?
TIA
Regards Bob C.
Could someone explain cell location in relation to top of
row 1 and left hand side of column A?.
If I run this macro it places a button on a worksheet
that covers the area of cell B2 on my xl2002.
ActiveSheet.Buttons.Add(48, 12.75, 48, 12.75).Select
It appears the top left hand corner of the button is the
starting point for positioning the button and therefore
the cell as well.
A column width is shown as 8.43 (64 pixels) if you
multiply 64 x 0.75 you get 48, the same as the 48 in the
code above. Also row height is shown as 12.75 (17 pixels)
if you multiply 17 x 0.75 you get 12.75 again the same as
in the code.
Questions:
1. What do the macro numbers represent? (points)
2. Is it possible to highlight a cell and run a macro or
function that gives the cells measurements in relation to
the top and side edges of a worksheet?
TIA
Regards Bob C.