我希望宏在C列(在Sheet“Tracker”上)从上到下运行,以查找与“Waiting”,“Deferred”,“New”或“Pending”文本匹配的任何单元格。
每次找到匹配项时,我都希望在Sheet“X”上运行带有地址:
的Web查询“http://efm/telecom/engineeringWorkOrders/viewEWOStatusLog.aspx?ewonumber=” + 来自C列中匹配单元格的A列中的相应值。
If (in Sheet "Tracker") Range("C" & CurRow).Value is "New" Then
Run a web query in Sheet "X" (Starting in cell A1) with the address: "http://efm/telecom/engineeringWorkOrders/viewEWOStatusLog.aspx?ewonumber=" & Range("A" & CurRow).Value