Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Excel Row Column Pts to Inch

Posted on 2000-02-19
8
Medium Priority
?
15,233 Views
Last Modified: 2011-08-18
Does any body know How to Convert
Excel Rows Height to Inches
Excel Column Width to Inches
Or Is there any formula to Convert
Row Col H W Points to Inches
0
Comment
Question by:deepakahuja
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 9

Accepted Solution

by:
david_levine earned 80 total points
ID: 2538129
1 point =  20 twips
1 twip  =  1/1440 pouce (inch)

So... 72 points = 1 inch

You also posted your question twice so you should go to the other question and withdraw it.

David
0
 

Author Comment

by:deepakahuja
ID: 2538254
Hey David
Can You Explain Little bit More
It's not working that way in Excel
Rows and Columns have a different
set of nos. I don't know why.....
Col Width of 10 is lot more than
Row height of 10
I am cofused Please Explain Little More
about it
Thanks
0
 
LVL 13

Expert Comment

by:cri
ID: 2538275
XL: How Column Widths Are Determined in Excel  http://support.microsoft.com/support/kb/articles/Q73/5/91.ASP
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 9

Expert Comment

by:david_levine
ID: 2538291
I just found this searching for more details...

------------------------------
Making Squares
------------------------------
One of the (many) frustrating things about Excel is that it uses different units of measurement to specify the height of rows and the width of columns.
 
Row height is pretty straightforward--it is measured in points. Column width, however, is measured in character widths. If your Standard style is set to Courier 10, then a column width of 12 means that you can fit exactly twelve characters in a given column. For proportional fonts, the character 0 is used to count the characters. (Yup, it's absurd.)
 
This leads to problems if you want the height and width of a
particular cell to match, thereby making a square. Fortunately, with a little macro wizardry you can bypass this oddity of Excel and achieve the desired results. Consider the MakeSquare macro:
 
    Sub MakeSquare()
        Dim WPChar As Double
        Dim DInch As Double
        Dim Temp As String
 
        Temp = InputBox("Height and width in inches?")         DInch = Val(Temp)
        If DInch > 0 And DInch < 2.5 Then
            For Each c In ActiveWindow.RangeSelection.Columns
                WPChar = c.Width / c.ColumnWidth
                c.ColumnWidth = ((DInch * 72) / WPChar)
            Next c
            For Each r In ActiveWindow.RangeSelection.Rows
                r.RowHeight = (DInch * 72)
            Next r
        End If
    End Sub
 
This macro prompts you for the dimension of the square you want to create, and then calculates exactly how wide and high to set each cell. You can run the macro with a single cell selected, or you can make a larger selection set.
 
The "math magic" is done in the calculating of the WPChar variable. This is set to a value derived by dividing the width of the column in points (returned by the Width property) by the width of the column in characters (returned by the ColumnWidth property). This value, which is the number of points in a character at the current settings, is then used to calculate how many characters should be used to set the width in the next program line.
0
 

Author Comment

by:deepakahuja
ID: 2539151
Thanks David
for the Square Macro
What I was trying to achieve
was to print Labels in Excel
instead of Word So I can use my Excel
data but unfortunately it seams
immpossible to format the rows and
columns to print Labels
Thanks again for all effort.....
0
 
LVL 13

Expert Comment

by:cri
ID: 2539526
Basically you have 2 options:

a) Mail merge your Excel data into Word and then use its Label feature. Please ask another question if you need assistance on this matter.

b) Not recommended but feasible: With some try and error you can format a worksheet such that the cell(s) will be printed ok. Whether you use one cell per label (*) or one cell per line is a matter of personal preference, I would take the latter unless you data structure does not allow it.

(*) Use the "&" operator (or the CONCATENATE function) to gather the data. Format the cell as word wrapping. As most probably the line breaks are not where you want them, use the following trick: In one cell, say A2, focus the formula bar and press Alt+Enter. This is equivalent to Shift+Enter in Word. Then use &$A$2 (or $A$2) to enforce wrapping.  
0
 

Author Comment

by:deepakahuja
ID: 2540459
Thanks Cri
0
 
LVL 13

Expert Comment

by:cri
ID: 2540633
You are welcome.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question