我使用此代码请帮助我将其调整为高亮A-H而不是整行。
$sql = "SELECT CURRENT_ID_NO, NAME, MOBILE_NO FROM pesara";
$dbCommand = Yii::app()->db->createCommand($sql);
$pesara = $dbCommand->queryAll();
$sql2 = "SELECT name, ic_no, ic_type, tel_no, pesara, created_dt, created_by, updated_dt, updated_by FROM ost_ahli";
$dbCommand2 = Yii::app()->db->createCommand($sql2);
$ahli = $dbCommand2->queryAll();
$result = array_intersect($pesara->CURRENT_ID_NO, $ahli->ic_no);
print_r($result);
答案 0 :(得分:0)
而不是
Range("A" & pRow & ":H" & pRow).Interior.ColorIndex = 6
试
DisplayAlert("Contact","Name: " + Contact.Fullname + "\nAddress: " + Contact.Address + "\nEmail: " + Contact.Email + "\nAge: " + Contact.Age, "Close");
答案 1 :(得分:0)
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Target.EntireRow.Columns("a:h").Interior.ColorIndex = 6
End Sub