I Have the following problem: I wanted to calculate value "as" to th
column A in worksheet "Horizon_Measurements". When i try like below
the code stucks i this row and appears notification of typo error. Bu
if i keep on the same worksheet and calculate values to the column A
everything works fine, what stucks? How i should refer to the column
in sheet "Horizon_Measurements"
'This is not working
If LCase(Cells(SB, "H").Value) = "as" Then
Cells(SB, "Horizon_Measurements!A:A").Value = "SB203"
'This works
ElseIf LCase(Cells(SB, "H").Value) = "hts" Then
Cells(SB, "AB").Value = "SB501
--
Message posted from
http://www.ExcelForum.com