I have been researching different code snipets to copy text from one worksheet to another and I have this one snipet ...but I do not quite understand what is going on...
and this
Code:
Lastcol = sh.Cells.Find(What:="*", _
After:=sh.Range("A1"), _
Lookat:=xlPart, _
LookIn:=xlFormulas, _
SearchOrder:=xlByColumns, _
SearchDirection:=xlPrevious, _
MatchCase:=False).Column
and this
Code:
For Each sh In Worksheets
If sh.UsedRange.Count > 1 Then
Last = Lastcol(WS)
With sh.Columns("A:A")
WS.Columns(Last + 1).Resize(, _
.Columns.Count).Value = .Value
WS.Columns(Last +1 ).Columns.AutoFit
End With
End If
Next