I have a source sheet with some empty columns that have a very thin width, when I paste the copied sheet into a new workbook the "thin" columns come in as regular width empty columns. Is it possible to copy & paste exact formats of sheets/columns including the column width?
I tried and
objWorkbook.Worksheets(NewSheet).Range("A1").PasteSpecial Paste=xlPasteFormats
I also tried
objWorkbook.Worksheets(NewSheet).Range("A1").PasteSpecial Paste=xlFormats, Transpose=False
and I tried
objWorkbook.Worksheets(NewSheet).Range("A1").PasteSpecial Paste=xlPasteColumnWidths
Thanks,
I tried and
objWorkbook.Worksheets(NewSheet).Range("A1").PasteSpecial Paste=xlPasteFormats
I also tried
objWorkbook.Worksheets(NewSheet).Range("A1").PasteSpecial Paste=xlFormats, Transpose=False
and I tried
objWorkbook.Worksheets(NewSheet).Range("A1").PasteSpecial Paste=xlPasteColumnWidths
Thanks,