thanx for quick reply,
i tried the following code
Private Sub copyID_Click()
i = 1
Do While (i < 2000)
Worksheets("content").Sele
Worksheets("content").Cell
Worksheets("content").Cell
i = i + 1
Loop
End Sub
--------------------------
error message:
runtime error '424'
object not found
well, does it has something to do woth when a cell is empty???
some cels aroun row 1000 are empty but the macro does not
go that far. it stops right at line 1.
Main Topics
Browse All Topics





by: SQL_StuPosted on 2004-09-28 at 04:50:48ID: 12168523
You could use:
4)
Mid(cellvalue, instr(1,cellvalue,"web"),1
This will search for the word "web" and only return the 14 characters to the right of the "w"
Stu