Width column paste not working - Selection.Columns.PasteSpecial Paste:=13
I have read many conversations about this subject and the only one that seems to work is the below coding, which widens only 8 columns. Changed 8 to 13 but it doesn't keep width for any of them. Can anyone suggest something that actually works?
Also tried
'Sheets("Test Page").Cells.Copy
'Sheets("Test Page").Cells.PasteSpecial Paste:=xlPasteValues
'Selection.Columns.PasteSpecial xlPasteColumnWidths
and also .keepSourceTheme or such like
but none of these paste column width
Thanks
I have read many conversations about this subject and the only one that seems to work is the below coding, which widens only 8 columns. Changed 8 to 13 but it doesn't keep width for any of them. Can anyone suggest something that actually works?
Code:
Selection.Columns.PasteSpecial Paste:=8
ws.UsedRange.Value = ws.UsedRange.Value
Application.CutCopyMode = False 'avoid marching ants
Also tried
'Sheets("Test Page").Cells.Copy
'Sheets("Test Page").Cells.PasteSpecial Paste:=xlPasteValues
'Selection.Columns.PasteSpecial xlPasteColumnWidths
and also .keepSourceTheme or such like
but none of these paste column width
Thanks