Macro please!
Leisa
The most likely cause for the
'strLeft = Left(strLeft, Len(strLeft) - 1) '
problem is that strLeft is zero length string which causes the 2nd parameter
to evaluate as a negative number.
--
Ken
"Using Dbase dialects since 82"
"Started with Visicalc in the same year"
"OssieMac" wrote:
Hi again Leisa,
I should have said that the following code assumes that the input data is in
column A and starts at row 2 (that is you have a column header)
With wsInput
Set rngData = .Range(.Cells(2, "A"), _
.Cells(.Rows.Count, "A").End(xlUp))
End With
Also I now see you have other options.
--
Regards,
OssieMac
|