I have some code that is moving data from a 'raw data' sheet to another sheet, but on the new sheet it is not moving the data with trailing zero's. How can I update this code to make sure it move all the raw data over as it is shown, I think I need to move it as Text, but I'm not fully sure how to do that.
Thanks,
Phil
Code:
Sub CopyRawdata()Dim copyRange As Range
Worksheets("PIF File Checker").Activate
Call Clearcells
Worksheets("Raw Data").Activate
Set copyRange = Range("b2:b" & Range("A65536").End(xlUp).Row)
With copyRange
Sheets("PIF File Checker").Range("B7").Resize(.Rows.Count, .Columns.Count).Value = .Value
End With
End Sub
Thanks,
Phil