|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: |
private void OpenTADDAM()
{
_Sbook = ClsComm.OpenExcelWorkbook(strTADDAMsrc);
//ClsComm.excel.Visible = true;
_Ssheet = (Excel.Worksheet)_Sbook.ActiveSheet;
_Ssheet.Select(Type.Missing);
sRngUsed = _Ssheet.UsedRange;
_Dbook = ClsComm.OpenExcelWorkbook(strNETEISSsrc);
//ClsComm.excel.Visible = true;
_Dsheet = (Excel.Worksheet)_Dbook.ActiveSheet;
_Dsheet.Select(Type.Missing);
dRngUsed = _Dsheet.UsedRange;
for (int i = 1; i <= sRngUsed.Rows.Count; i++)
{
for (int j = 1; j <= dRngUsed.Rows.Count; j++)
{
sRngAdv = _Ssheet.get_Range("A" + i.ToString(), Type.Missing);
dRngAdv = _Dsheet.get_Range("F" + j.ToString(), Type.Missing);
if (dRngAdv.Value2 != null)
{
if (sRngAdv.Value2 != null)
{
if (dRngAdv.Value2 == sRngAdv.Value2)
{
MessageBox.Show("TADDAM : " + sRngAdv.Value2.ToString() + " NETEISS : " + dRngAdv.Value2.ToString());
}
else
{
// MessageBox.Show("not matched : " + i.ToString() + " / " + j.ToString());
}
}
}
}
}
}
|
Advertisement
| Hall of Fame |
There are currently no qualifying experts in .NET Framework 2.x
There are currently no qualifying experts in .NET Framework 2.x