I have a simple operation where I am trying to essentialling copy a column of values from sheet Processed Compilation Tab to another sheet ATS Get Delete List.
It works ok but after this operation is done I do some filtering in the source sheet and what i am finding is that using the method below, once some of the values are filtered out my new column in ATS Get Delete List values are changing to #REF .
How can I use this method to permanently just paste the values over to my column in ATS Get Delete List?
It works ok but after this operation is done I do some filtering in the source sheet and what i am finding is that using the method below, once some of the values are filtered out my new column in ATS Get Delete List values are changing to #REF .
How can I use this method to permanently just paste the values over to my column in ATS Get Delete List?
Dim iLastrow As Long
Dim xsheet As Worksheet
Dim wb As Workbook
Set wb = ThisWorkbook
Set xsheet = wb.Sheets("Processed Compilation Tab")
iLastrow = xsheet.Cells(xsheet.Rows.Count, "Q").End(xlUp).Row ' -4162 value of xlup
Application.ScreenUpdating = False
Sheets("ATS Get Delete List").Range("W2:W" & iLastrow).Value = "=Trim(Clean('Processed Compilation Tab'!Q2))"
iLastrow = Sheets("ATS Get Delete List").Cells(Sheets("ATS Get Delete List").Rows.Count, "Z").End(xlUp).Row
Application.ScreenUpdating = True