我們使用BeyondCompare 4來比較兩個文件。有沒有辦法使用BeyondCompare,通過按下按鈕只有前6位數字從文件A複製到文件B?BeyondCompare:如果通過宏不同,則替換前6位數
我不想複製整條線,我們需要檢查並檢查是否真的要替換第一個數字。所以我們不能使用任何通過宏自動替換。
如:
FileA:
(ABCD) This is a testline
(----) This is the 2nd line
FileB:
(0000) This is not a testline
(ABCD) This is the second line
審查後,新的文件應該是FILEB與FILEA的第一行的第一個數字:
Result:
(ABCD) This is not a testline
(ABCD) This is the second line
由於提前,
如果您在表比較的主窗口中選擇一行,則使用複製,它應複製整個行。如果您在窗口底部的行詳細信息中選擇一個單元格,它應該只複製該單元格。 –