An example file won't tell you much so I'll try to guide you through it.
1. Go to Developers Tab and select Insert.
2. Click on ActiveX-label and draw the shape on your worksheet.
3. Right-Click on the label to show properties.
4. Remove the text next to Caption and close Properties.
5. Double-Click on the label to open VBA-Editor.
6. In the right window you'll see 2 combobox like objects. The left is showing Label1 and the right is showing Change.
7. In the right Combobobox select MouseOver.
8. Put this between Private Sub and End Sub
With ActiveSheet
.Range("Q5") = Round(.Shapes(.Range("e2").Value).Height / 72 * 2.54, 2) & "cm"
.Range("Q6") = Round(.Shapes(.Range("e2").Value).Width / 72 * 2.54, 2) & "cm"
End With
so it looks like this
Private Sub Label1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
With ActiveSheet
.Range("Q5") = Round(.Shapes(.Range("e2").Value).Height / 72 * 2.54, 2) & "cm"
.Range("Q6") = Round(.Shapes(.Range("e2").Value).Width / 72 * 2.54, 2) & "cm"
End With
End Sub
9. Close the VBEditor and move and resize the label to the place of your choice.
10. On Developer tab goto DesignMode and reopen Properties.
11. For BackStyle select BackStyleTransparent.
12. Close Properties, Leave DesignMode.
13. Now resize the picture and hoover over the 'invisible label' to check dimensions.
Bookmarks