how paste column width?

  • Thread starter Thread starter Ian Elliott
  • Start date Start date
I

Ian Elliott

I am copying and pasting some worksheets from one workbook
to another, using
selection.pastespecial paste:=xlPasteValuesAndNumberFormats
selection.pastespecial paste:=xlpasteformats

but the values pasted are too small for the column
although they were just fine for the original worksheet.
Is there a way to paste the column width? I thought
xlpasteformats did that.
Thanks
 
Excel 2000 supported this as well as I recall, but the constant
xlPasteColumnWidths was not defined. You had to hard code the value 8.

Regards,
Tom Ogilvy
 
Back
Top