I have a program which checks workbooks and corrects those errors which it
can correct. One check is on the column widths: Column A should be 1.43
characters wide and column G should be 8.86 characters wide. This works fine
on 99% of the computers where it is used but we have one or two where if you
change the width of column A to 1.43 it goes to 1.44, and for column G if you
set it to 8.86 it goes to 8.89.
This means that the next time the check is run, the workbook is deemed a
failure.
The difference appears to be the screen resolution: on the computers where
it works the resolution is 96x96 dpi and on one of the duff ones it is 120 x
120.
If I set the column to the maximum 255 characters, the width in points is
1790 on the OK computers and 1841.6 on the duff one.
Is there a way to calculate what Excel will set the column width to for a
given screen resolution? Then I could measure the resolution and check if the
column width is OK.
Can one change the resolution? If so, will this be for all programs or just
for Excel? (or for this spreadhseet?)
|
|
0
|
|
|
|
Reply
|
Utf
|
3/12/2010 3:23:02 PM |
|
It seems to me that the resolution of the column widths are to fine. You
should limit your column widths to only one decimal point precision. So
instead of 1.43 use 1.4. Or instead of 8.86 use 8.8.
"Gleam" <Gleam@discussions.microsoft.com> wrote in message
news:41F695D8-6D1A-463F-84A4-855DCFD8020E@microsoft.com...
> I have a program which checks workbooks and corrects those errors which it
> can correct. One check is on the column widths: Column A should be 1.43
> characters wide and column G should be 8.86 characters wide. This works
> fine
> on 99% of the computers where it is used but we have one or two where if
> you
> change the width of column A to 1.43 it goes to 1.44, and for column G if
> you
> set it to 8.86 it goes to 8.89.
>
> This means that the next time the check is run, the workbook is deemed a
> failure.
>
> The difference appears to be the screen resolution: on the computers where
> it works the resolution is 96x96 dpi and on one of the duff ones it is 120
> x
> 120.
>
> If I set the column to the maximum 255 characters, the width in points is
> 1790 on the OK computers and 1841.6 on the duff one.
>
> Is there a way to calculate what Excel will set the column width to for a
> given screen resolution? Then I could measure the resolution and check if
> the
> column width is OK.
>
> Can one change the resolution? If so, will this be for all programs or
> just
> for Excel? (or for this spreadhseet?)
>
>
|
|
0
|
|
|
|
Reply
|
Dennis
|
3/13/2010 4:50:53 PM
|
|
Thank you for the suggestion. I have done a small test and I think your idea
will work for column widths with a whole number of characters, but not for
any with decimal places.
In all the following results the set width was 4.4 characters (Arial size 10
as normal font) Two PCs were used with screen resolutions of 96 and 120 dpi.
Excel 2003.
Set by 96, read by 96 w=4.43
Set by 96, read by 120 w=4.33
set by 120 read by 120 w=4.44
set by 120 read by 96 w =4.57
Range 4.33 to 4.57. If the widths were read to one decimal place the range
would be 4.3 to 4.6.
I have set the width to a value where the read value is the same as the set
value in 96 resolution. (4.43 in the above example) If I then apply a
tolerance of 0.15 on the read column width I am OK on both 96 and 120 PCs.
(i.e. if the read width is within plus minus 0.15 characters of the required
value it is acceptable.)
I have a similar problem with the row height. A tolerance of 0.05 works for
this.
Incidentally I selected the "Notify me of replies" box but never received a
notification.
"Dennis Tucker" wrote:
> It seems to me that the resolution of the column widths are to fine. You
> should limit your column widths to only one decimal point precision. So
> instead of 1.43 use 1.4. Or instead of 8.86 use 8.8.
>
>
>
> "Gleam" <Gleam@discussions.microsoft.com> wrote in message
> news:41F695D8-6D1A-463F-84A4-855DCFD8020E@microsoft.com...
> > I have a program which checks workbooks and corrects those errors which it
> > can correct. One check is on the column widths: Column A should be 1.43
> > characters wide and column G should be 8.86 characters wide. This works
> > fine
> > on 99% of the computers where it is used but we have one or two where if
> > you
> > change the width of column A to 1.43 it goes to 1.44, and for column G if
> > you
> > set it to 8.86 it goes to 8.89.
> >
> > This means that the next time the check is run, the workbook is deemed a
> > failure.
> >
> > The difference appears to be the screen resolution: on the computers where
> > it works the resolution is 96x96 dpi and on one of the duff ones it is 120
> > x
> > 120.
> >
> > If I set the column to the maximum 255 characters, the width in points is
> > 1790 on the OK computers and 1841.6 on the duff one.
> >
> > Is there a way to calculate what Excel will set the column width to for a
> > given screen resolution? Then I could measure the resolution and check if
> > the
> > column width is OK.
> >
> > Can one change the resolution? If so, will this be for all programs or
> > just
> > for Excel? (or for this spreadhseet?)
> >
> >
> .
>
|
|
0
|
|
|
|
Reply
|
Utf
|
3/16/2010 11:16:02 PM
|
|
If you want really fine tuning
You can use VBA to set height and width in mm
Ole Erlandson has code for setting row and column dimensions.
http://www.erlandsendata.no/english/index.php?d=envbawssetrowcol
Gord Dibben Excel MVP
On Tue, 16 Mar 2010 16:16:02 -0700, Gleam <Gleam@discussions.microsoft.com>
wrote:
>Thank you for the suggestion. I have done a small test and I think your idea
>will work for column widths with a whole number of characters, but not for
>any with decimal places.
>In all the following results the set width was 4.4 characters (Arial size 10
>as normal font) Two PCs were used with screen resolutions of 96 and 120 dpi.
>Excel 2003.
>Set by 96, read by 96 w=4.43
>Set by 96, read by 120 w=4.33
>set by 120 read by 120 w=4.44
>set by 120 read by 96 w =4.57
>Range 4.33 to 4.57. If the widths were read to one decimal place the range
>would be 4.3 to 4.6.
>
>I have set the width to a value where the read value is the same as the set
>value in 96 resolution. (4.43 in the above example) If I then apply a
>tolerance of 0.15 on the read column width I am OK on both 96 and 120 PCs.
>(i.e. if the read width is within plus minus 0.15 characters of the required
>value it is acceptable.)
>
>I have a similar problem with the row height. A tolerance of 0.05 works for
>this.
>
>Incidentally I selected the "Notify me of replies" box but never received a
>notification.
>
>"Dennis Tucker" wrote:
>
>> It seems to me that the resolution of the column widths are to fine. You
>> should limit your column widths to only one decimal point precision. So
>> instead of 1.43 use 1.4. Or instead of 8.86 use 8.8.
>>
>>
>>
>> "Gleam" <Gleam@discussions.microsoft.com> wrote in message
>> news:41F695D8-6D1A-463F-84A4-855DCFD8020E@microsoft.com...
>> > I have a program which checks workbooks and corrects those errors which it
>> > can correct. One check is on the column widths: Column A should be 1.43
>> > characters wide and column G should be 8.86 characters wide. This works
>> > fine
>> > on 99% of the computers where it is used but we have one or two where if
>> > you
>> > change the width of column A to 1.43 it goes to 1.44, and for column G if
>> > you
>> > set it to 8.86 it goes to 8.89.
>> >
>> > This means that the next time the check is run, the workbook is deemed a
>> > failure.
>> >
>> > The difference appears to be the screen resolution: on the computers where
>> > it works the resolution is 96x96 dpi and on one of the duff ones it is 120
>> > x
>> > 120.
>> >
>> > If I set the column to the maximum 255 characters, the width in points is
>> > 1790 on the OK computers and 1841.6 on the duff one.
>> >
>> > Is there a way to calculate what Excel will set the column width to for a
>> > given screen resolution? Then I could measure the resolution and check if
>> > the
>> > column width is OK.
>> >
>> > Can one change the resolution? If so, will this be for all programs or
>> > just
>> > for Excel? (or for this spreadhseet?)
>> >
>> >
>> .
>>
|
|
0
|
|
|
|
Reply
|
Gord
|
3/16/2010 11:49:01 PM
|
|
Note: dimensions in mm would not be resolution-related so would be same on
all computers.
Gord
On Tue, 16 Mar 2010 16:49:01 -0700, Gord Dibben <gorddibbATshawDOTca> wrote:
>If you want really fine tuning
>
>You can use VBA to set height and width in mm
>
>Ole Erlandson has code for setting row and column dimensions.
>
>http://www.erlandsendata.no/english/index.php?d=envbawssetrowcol
>
>
>Gord Dibben Excel MVP
>
>On Tue, 16 Mar 2010 16:16:02 -0700, Gleam <Gleam@discussions.microsoft.com>
>wrote:
>
>>Thank you for the suggestion. I have done a small test and I think your idea
>>will work for column widths with a whole number of characters, but not for
>>any with decimal places.
>>In all the following results the set width was 4.4 characters (Arial size 10
>>as normal font) Two PCs were used with screen resolutions of 96 and 120 dpi.
>>Excel 2003.
>>Set by 96, read by 96 w=4.43
>>Set by 96, read by 120 w=4.33
>>set by 120 read by 120 w=4.44
>>set by 120 read by 96 w =4.57
>>Range 4.33 to 4.57. If the widths were read to one decimal place the range
>>would be 4.3 to 4.6.
>>
>>I have set the width to a value where the read value is the same as the set
>>value in 96 resolution. (4.43 in the above example) If I then apply a
>>tolerance of 0.15 on the read column width I am OK on both 96 and 120 PCs.
>>(i.e. if the read width is within plus minus 0.15 characters of the required
>>value it is acceptable.)
>>
>>I have a similar problem with the row height. A tolerance of 0.05 works for
>>this.
>>
>>Incidentally I selected the "Notify me of replies" box but never received a
>>notification.
>>
>>"Dennis Tucker" wrote:
>>
>>> It seems to me that the resolution of the column widths are to fine. You
>>> should limit your column widths to only one decimal point precision. So
>>> instead of 1.43 use 1.4. Or instead of 8.86 use 8.8.
>>>
>>>
>>>
>>> "Gleam" <Gleam@discussions.microsoft.com> wrote in message
>>> news:41F695D8-6D1A-463F-84A4-855DCFD8020E@microsoft.com...
>>> > I have a program which checks workbooks and corrects those errors which it
>>> > can correct. One check is on the column widths: Column A should be 1.43
>>> > characters wide and column G should be 8.86 characters wide. This works
>>> > fine
>>> > on 99% of the computers where it is used but we have one or two where if
>>> > you
>>> > change the width of column A to 1.43 it goes to 1.44, and for column G if
>>> > you
>>> > set it to 8.86 it goes to 8.89.
>>> >
>>> > This means that the next time the check is run, the workbook is deemed a
>>> > failure.
>>> >
>>> > The difference appears to be the screen resolution: on the computers where
>>> > it works the resolution is 96x96 dpi and on one of the duff ones it is 120
>>> > x
>>> > 120.
>>> >
>>> > If I set the column to the maximum 255 characters, the width in points is
>>> > 1790 on the OK computers and 1841.6 on the duff one.
>>> >
>>> > Is there a way to calculate what Excel will set the column width to for a
>>> > given screen resolution? Then I could measure the resolution and check if
>>> > the
>>> > column width is OK.
>>> >
>>> > Can one change the resolution? If so, will this be for all programs or
>>> > just
>>> > for Excel? (or for this spreadhseet?)
>>> >
>>> >
>>> .
>>>
|
|
0
|
|
|
|
Reply
|
Gord
|
3/16/2010 11:59:01 PM
|
|
|
4 Replies
535 Views
(page loaded in 0.228 seconds)
Similiar Articles: Setting column width on different computers - microsoft.public ...I have a program which checks workbooks and corrects those errors which it can correct. One check is on the column widths: Column A should be 1.43 ... having two separate column width controls on same worksheet ...Setting column width on different computers - microsoft.public ... having two separate column width controls on same worksheet ... Setting column width on different ... Print Preview Different than What I see in the Excel File ...Printing is different from different computers - microsoft.public ... Print Preview Different than What I see in the Excel File ... Setting column width on different ... Printing is different from different computers - microsoft.public ...Setting column width on different computers - microsoft.public ... Printing is different from different computers - microsoft.public ... Setting column width on different ... Column Width - microsoft.public.excel.programmingI have a work sheet - in top part, I want column widths to be one setting; in bottom part, I want ability to have different column width setting..... How can you change an Access datasheet column header height or wra ...» Set row height and column ... public.access.forms ... How do I change the title of a column in a datasheet ... you can change a column's width ... Text-To-Columns Fixed Width - microsoft.public.excelThen I did Table Tools->Auto Fit->Fixed Column Width and the column width ... ... text with full page width figures - microsoft.public ... Is there a way to set ... How to adjust column width in standard view - microsoft.public ...Setting column width on different computers - microsoft.public ... How to adjust column width in standard view - microsoft.public ... Setting column width on different ... Datasheet Column Widths - microsoft.public.access.forms ...Certainly, there's nothing really different about datasheet events, but I ... Setting Datasheet column width using VBA Hi everyone. I tried the code below to set the width of ... Can not get size of list width - microsoft.public.access ...The field for List Width under form (below column widths and list rows) is still set to 7.5. So why the different values required? Thanks, J. Setting column width on different computers - microsoft.public ...I have a program which checks workbooks and corrects those errors which it can correct. One check is on the column widths: Column A should be 1.43 ... Re: Setting column width on different computersThank you for the suggestion. I have done a small test and I think your idea will work for column widths with a whole number of characters, but not for Excel - Same Excel File, Different Display Between Computers - Hi ...Same Excel File, Different Display Between Computers - Hi I have a small excel ... When I set the same column width on other computers with Excel 2007 installed with the ... Setting Column Widths in My Computer Details View - Microsoft SupportWhen you use the Details View from My Computer, changes to the column width may not be retained. Open Windows NT Explorer . Click View , and click Details ... Setting column Width and Row Height - tips and tricksCOMPUTER TIPS ... Setting column Width and Row Height . The width of column and ... Views document with different styles in Word; Deleting ... 7/23/2012 5:15:03 PM
|