why pasteSpecial formats but still colwidth not big enough?

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

Ian Elliott

I have a macro that copies and pastes worksheets from
another workbook. One of the worksheets pasted in has
cells with '######'s-the column widths are not big enough
for the numbers in the cells. The code in my macro is:
Selection.PasteSpecial Paste:=xlPasteFormats
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats
Selection.PasteSpecial Paste:=xlPasteColumnWidths

And since the original worksheet columns are wide enough
to not get "######'s I figure the destination should be
fine also. But I have this problem. Any ideas? Thanks!
 
Back
Top