Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Measuring Column Width
Why does the following line of code return 48 rather the 8.43 when used on a
default column width? MsgBox "Selected Column Width is " & Selection.Width Martin In Texas |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Measuring Column Width
width is the number of points
use columnwidth to return 8.3 MsgBox "Selected Column Width is " & Selection.ColumnWidth look up the columnwith property in help -- Gary "Martin in Frisco Texas" wrote in message ... Why does the following line of code return 48 rather the 8.43 when used on a default column width? MsgBox "Selected Column Width is " & Selection.Width Martin In Texas |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Measuring Column Width
Hi Martin,
The Width property returns the selected column width, in points. The ColumnWidth property returns the width of the column using a unit equal to the width of one character in the Normal style --- Regards, Norman "Martin in Frisco Texas" wrote in message ... Why does the following line of code return 48 rather the 8.43 when used on a default column width? MsgBox "Selected Column Width is " & Selection.Width Martin In Texas |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Measuring Column Width
Norman
Thanks Martin "Norman Jones" wrote: Hi Martin, The Width property returns the selected column width, in points. The ColumnWidth property returns the width of the column using a unit equal to the width of one character in the Normal style --- Regards, Norman "Martin in Frisco Texas" wrote in message ... Why does the following line of code return 48 rather the 8.43 when used on a default column width? MsgBox "Selected Column Width is " & Selection.Width Martin In Texas |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Measuring Column Width
Gary
Thanks Martin "Gary Keramidas" wrote: width is the number of points use columnwidth to return 8.3 MsgBox "Selected Column Width is " & Selection.ColumnWidth look up the columnwith property in help -- Gary "Martin in Frisco Texas" wrote in message ... Why does the following line of code return 48 rather the 8.43 when used on a default column width? MsgBox "Selected Column Width is " & Selection.Width Martin In Texas |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Measuring cell width and height for printed paper | Excel Discussion (Misc queries) | |||
Change Cell Width WITHOUT changing Column width | Excel Discussion (Misc queries) | |||
How to make cell width different than the column width it lies in | Excel Discussion (Misc queries) | |||
Change the width of a single column in a column chart | Charts and Charting in Excel |