Help!
I'm trying to run a macro created by an ex-employee which has today stopped working. Unfortunately, i know virtually nothing about coding so any help would be greatly appreciated.
The macro I'm running creates the error messgae 1004. I've highlighted the line of text which it appears to be having problems with.
' finds bottom most cell in selection, this cell contains the number of records in the import
' and names this number Jeff2
Cells(50, 2).Select
Selection.End(xlDown).Select
ActiveCell.Offset(2, -1).Select
Selection.TextToColumns Destination:=Cells(1, 1), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=True, Space:=True, Other:=True, _
OtherChar:="(", FieldInfo:=Array(Array(1, 1), Array(2, 1), Array(3, 9)), TrailingMinusNumbers:=True
Columns("A:A").Select
Selection.Delete Shift:=xlToLeft
Jeff2 = Cells(1, 1).Value
Cells(1, 1).Clear
For rwindex = 1 To 100
If Cells(rwindex, 1).Value Like "name*" Then Cells(rwindex, 1).EntireRow.ClearContents
Next rwindex
Thanks for your help.
John
Bookmarks