'假设第一行为标题行,型体在A列,订单在B列,逐一显示满足条件的行号sub 查找定位()dim i as longfor i = 1 to 65536set ws=thisworkbook.sheets("dindan")IF ws.range("A" & i)="MG358-2" and ws.range("B" & i)="10310940" then msgbox "查找的结果在第" & i & "行"End IFnext end sub