Greetings,
There is a big risk for Find/Replace macro.
Let me explain how;
1- Open an excel file.
2- Be sure that you have two sheets in this file, first one is Sheet1 and second one is Sheet2.
3- Enter Apple into Sheet1 A1 cell.
4- Enter Apple into Sheet2 A1 cell.
5- Press Ctrl + F in oder to open find and replace dialog box.
6- Enter Apple into find and replace dialog box, select ThisWorkbook instead of ThisSheet, and click Find All button. (You did this because you want to see all Apple values in the workbook.) (Everything is okey until now) (Close find and replace dialog box now.)
7- Now, you want to replace Apple value to Orange by using following code only in the Sheet1.
But code above replaces Apple values to Orange values in all sheets!!! This is the very dangerous thing!Please Login or Register to view this content.
Any idea???
Reason;
Find and replace dialog box DO NOT reset itself!!!
Bookmarks