Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
I'm putting this in the New Users section, because it will probably be
obvious to experienced users, but when I finally figured it out, it was of enormous help to me. I have a bunch of spreadsheets that are being used as a database. When comparing the data in the spreadsheets to the original data, I had a hard time because the spreadsheet rows didn't correspond in size to the original data. I tried adjusting the font sizes in both, but couldn't get the rows to line up. I finally found that the thing to do is to set the Height of the spreadsheet row to the font size of the other file. Then the font size can be 1 less for ease of reading it. I found that the Distributed orientation worked best. Note that font sizes are specified as the height in points. There are 72 points in an inch. This is part of a macro that sets up my files for reviewing. Sub D1FormatForReview() ' ' Macro recorded 3/29/2006 by Patricia Shannon Cells.Select With Selection With .Font .Name = "Courier New" .Size = D1FontSize - 1 End With .RowHeight = D1FontSize .VerticalAlignment = xlDistributed .ShrinkToFit = False End With Cells.Select Selection.Columns.AutoFit Columns("B:D").Select Selection.EntireColumn.Hidden = True End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel files in separate program windows | Excel Discussion (Misc queries) | |||
excel 2003 slow when working with excel 2000 files | Excel Discussion (Misc queries) | |||
Can I embed or link multiple .pdf files into or to an excel file? | Excel Discussion (Misc queries) | |||
Excel Files Acting Weird | Excel Discussion (Misc queries) | |||
Why do my links break when I burn multiple Excel files to a CD? | Excel Worksheet Functions |