detroitpickles
MIS
I have a workbook containing worksheets. I am saving one of these worksheets. When I do it, Excel truncates the cell contents to 255 characters. I looked into it, and it seems like my "ActiveSheet.Copy" line is the problem. I do NOT want to simply "rename" the file, whcih is what the SaveAs would do, so I "copy" the worksheet first, then save that. By doing this, it truncates any cell length to 255.
Here is the code I have:
'start
ThisWorkbook.Worksheets("Package".Activate
ActiveSheet.Copy
Application.DisplayAlerts = False
ActiveWorkbook.SaveAs Filename:="Junk.cps", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
'end
Any ideas are greatly appreciated....
Here is the code I have:
'start
ThisWorkbook.Worksheets("Package".Activate
ActiveSheet.Copy
Application.DisplayAlerts = False
ActiveWorkbook.SaveAs Filename:="Junk.cps", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
'end
Any ideas are greatly appreciated....