If you want Text and numerical stemming from formula
'-------------------------------
Sub test()
Dim Rg As Range
On Error Resume Next
With Sheet1
With .Range("A1:A" & .Range("A65536").End(xlUp).Row)
Set Rg = .SpecialCells(xlCellTypeFormulas, 3)
End With
End With
Rg.EntireRow.Copy Sheet2.Range("A1")
End Sub
'-------------------------------
"michdenis" <(E-Mail Removed)> a écrit dans le message de groupe de discussion :
095A9554-26C3-4F80-998A-(E-Mail Removed)...
Hi,
For cells containing Text only
'---------------------------
Sub test()
Dim Rg As Range
On Error Resume Next
With Sheet1
With .Range("A1:A" & .Range("A65536").End(xlUp).Row)
Set Rg = .SpecialCells(xlCellTypeFormulas, xlTextValues)
End With
End With
Rg.EntireRow.Copy Sheet2.Range("A1")
End Sub
'---------------------------
"Wes_A" <(E-Mail Removed)> a écrit dans le message de groupe de discussion :
3E741A13-96B0-4CBA-9912-(E-Mail Removed)...
I need to select from a range of rows - only those having data (formula
result) in the first cell. There will be some rows without data in the first
cell but they would contain a formula - these shoudl not be selected for copy.
I want to select and copy all the rows having data in the first cell in
order to paste these rows as values into a separate sheet in another workbook.
Any suggestion?