How can I view actual print dimensions of cell?

zoso

Well-known Member
Joined
Oct 23, 2003
Messages
725
Sorry if this appears a dumb question but can't find the answer anywhere!

I need to create and print a CD cover and have the dimensions of 119 x 120mm but the width/heights of cells are not in real measurements, metric or otherwise.

Can you explain how I can view actual print dimensions without me having to use trial and error and countless pages of A4?

Many thanks!
 

Some videos you may like

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
In VBA the Height and Width properties of a Range object return values in points (1/72nd of an inch). They are read-only so you would still need trial and error with the RowHeight and ColumnWidth.

Or you could try setting the margins so that the printable area is what you want and shrink to fit.
 

zoso

Well-known Member
Joined
Oct 23, 2003
Messages
725
Oh well, thanks for your help anyway, Andrew!
 

zoso

Well-known Member
Joined
Oct 23, 2003
Messages
725
Thinking about it differently, is there a conversion factor for cell height & width e.g. 10 cell height units = x number of mm and 10 cell width units = x number of mm?
 

just_jon

Legend
Joined
Sep 3, 2002
Messages
10,473

ADVERTISEMENT

This macro --

Sub foo()
Cells(1, 1) = (Cells(1, 1).Height / 72)
Cells(2, 1) = (Cells(1, 1).Width / 72)
End Sub

puts A1'a cell hieght and width in terms of inches in A1 and A2.

Then this formula set

=CONVERT(A1,"in","mm")
=CONVERT(A2,"in","mm")

in unused cells converts to mm.
 

zoso

Well-known Member
Joined
Oct 23, 2003
Messages
725
Jon - that's just what I needed!

Thanks a lot!
 

Watch MrExcel Video

Forum statistics

Threads
1,127,623
Messages
5,625,938
Members
416,143
Latest member
JoyceMB

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top