cameron.scrimgeour
Registered User.
- Local time
- Today, 00:28
- Joined
- May 7, 2009
- Messages
- 21
Using the following code to copy 2 worksheets to a new workbook..
Sheets(Array("Sheet1", "Sheet2")).Copy
ActiveWorkbook.SaveAs Filename:="NewBook"
ActiveWorkbook.Close
There are fields in Sheet 1 with more than 255 characters in them. So when the sheet is copied, it cuts anything over the 255 characters out.
I have read that if I copy the cell range in Sheet1, this will stop the problem.
What would the code by to copy cells A1 - A28 from Sheet1?
Sheets(Array("Sheet1", "Sheet2")).Copy
ActiveWorkbook.SaveAs Filename:="NewBook"
ActiveWorkbook.Close
There are fields in Sheet 1 with more than 255 characters in them. So when the sheet is copied, it cuts anything over the 255 characters out.
I have read that if I copy the cell range in Sheet1, this will stop the problem.
What would the code by to copy cells A1 - A28 from Sheet1?