UnsolvedCoding
Technical User
I am having issues getting formatting correct in a workbook.
Here is the exact code
myArray = ThisWorkbook.Sheets("Raw Data").Range("A" & i & ":Q" & J).Value
Workbooks(sWorkbook).Worksheets(sSheetName).Range("A2:Q" & J + 2 - i).Value = myArray
The code works perfectly but when it bgets put into the new workbook the formating screws up. What I want to do is paste special as formats if thats possible.
Does anyone know if that can be done with the code given?
Here is the exact code
myArray = ThisWorkbook.Sheets("Raw Data").Range("A" & i & ":Q" & J).Value
Workbooks(sWorkbook).Worksheets(sSheetName).Range("A2:Q" & J + 2 - i).Value = myArray
The code works perfectly but when it bgets put into the new workbook the formating screws up. What I want to do is paste special as formats if thats possible.
Does anyone know if that can be done with the code given?