columnwidth

  1. P

    Excel 2016 Column width shrinks when copied to another workbook

    Hi. I need a payroll worksheet (Let's call it Ori) copied to another workbook. The column and row width has to be the same for printing purposes. Problem is, column width shrinks when copied over. I've checked page setup and it's the same on both workbooks. Things I have tried:- 1. Make a Copy...
  2. D

    Finding a column in function of a specific cell

    Hi all, I try to find the VBA code that would allow me to choose the ColumnWidth in function of a specific cell. here is the code of that cell Cells(12, a * 2 + 3) with a variable a that allows to put elements of a listbox in the same row in different columns with for each item a...
  3. J

    Set Excel columnwidth in Centimeters

    Hello, everyone, In range("a1"), if you input 3,I want the column("A:A").columnwidth changes to 3 centermeters, in you input 0.5, I want the columnwidth changes to 0.5 centermeters. Can someone here write the VBA code for me to make this happen, Thank you !!! (Different DPI can affect the...
  4. JARHTMD

    How to wrap a header across 2 columns

    I have 2 numeric columns . . . 99 (max) and 99.9 (avg). I want the header to span both columns. Can that be done? If so, how? Total Consumption ..12......3.1 ...9.......2.5 ..27......6.5 etc
  5. C

    way Columnwidths lost decimal point

    I have this code, all works fine until reach the 3th last row. if I debug all way thru, the right part of the row actually have the request format (as far as i know) for .columnwidths, I mean strCWidth have the format as follows "12.5 pt;10.5pt;50.3pt" but after hit F8 the value in...
  6. S

    autofit columns BUT for columnwidth to not exceed 40 ?

    I'd like to autofit columns but not allow the column width to exceed 40 (as some may be 255)... any ideas please? Here's an extract of what I have now: Dim lastCol As Integer Dim lastRow As Integer With ActiveSheet ' find position of entire table including...

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