Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default Columnwidth in milimeters?

Hi,


Is it possible to _READ_ the width of a column in milimeters?

I can get it in chars, pixels and points, but how to get the width of a
column in milimeters???


TIA,

CE
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 538
Default Columnwidth in milimeters?

Charlotte E. wrote:

Is it possible to _READ_ the width of a column in milimeters?

I can get it in chars, pixels and points, but how to get the width of a
column in milimeters???


Retrieve it in points, multiply by 25.4, divide by 72:

mm = ActiveCell.Width * 25.4 / 72

--
Oh, wait, dotcoms aren't worth anything any more. Never mind.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default Columnwidth in milimeters?

What'a you know - a simple formula could do the trick :-)

Thanks...

CE


Den 21.05.2013 17:27, Auric__ skrev:
Charlotte E. wrote:

Is it possible to _READ_ the width of a column in milimeters?

I can get it in chars, pixels and points, but how to get the width of a
column in milimeters???


Retrieve it in points, multiply by 25.4, divide by 72:

mm = ActiveCell.Width * 25.4 / 72

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 621
Default Columnwidth in milimeters?

If you want to use VBA to set height and width in mm.

Ole Erlandson has code for setting row and column dimensions.

http://www.erlandsendata.no/english/...vbawssetrowcol


Gord



On Tue, 21 May 2013 12:01:11 +0200, "Charlotte E."
wrote:

Hi,


Is it possible to _READ_ the width of a column in milimeters?

I can get it in chars, pixels and points, but how to get the width of a
column in milimeters???


TIA,

CE

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Columnwidth Jean-Paul Excel Discussion (Misc queries) 1 November 24th 09 02:21 PM
Columnwidth in cm? Charlotte E.[_2_] Excel Programming 3 September 25th 08 05:21 AM
ColumnWidth abhimanyu Excel Programming 1 November 10th 06 01:14 PM
ColumnWidth Dwight[_4_] Excel Programming 2 July 14th 04 08:22 PM
ColumnWidth not working... BEE Excel Programming 2 December 19th 03 06:29 PM


All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"