Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm writing some code that draws a Range on Autocad using the mtext object. Basically, for each cell in my range I draw a rectangle in Acad of cell.Height x cell.Width with mtext.Height = cell.Font.Size I have some problems whit the font height (any type of font). If "Stefano" fits in my range in acad goes outside the rectangle... Now my code is mtext.Height = cell.Font.Size - 3 (and it works fine) but is there a perfect way to adjust the size? Regards, Stefano |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing Font color based on font type or size | Excel Discussion (Misc queries) | |||
Change all text one font size up with various font sizes used. | New Users to Excel | |||
Font size prints same size regardless of how I set it in Excel | Excel Discussion (Misc queries) | |||
Dropdown list for font size, font type and number formats | Excel Programming | |||
edit an autocad r14 | Excel Discussion (Misc queries) |