Ok Sorry Patel i will tell in other way ok
1. I want to open an excelfile(big 65000 Rows) With an macro(Button)
"Openfiledialog select file"
2. Then i want to have a button, like before to search for word.
"Search text in open excelfile"
When it find the rows with the "Found Rows with text i put in",
copy all rows to new sheet2 in same workbook
Before i use this code, but now not work, because
when i open excelfile, it has name( not sheet2)
No reason to copy excelfile(from Open filedialog) to new sheet. I just need to open it
But i need to copy found rows with "found text" to new sheet.
Summary:
1.One Button for openfiledialog("Select excelfile to open")
2. Onebutton for Search for text in openfile(Insensitive) and
copy found rows to seperate sheet(Sheet2), same workbook
Please have a look
My Old code to "find text" in rows are this:
Or Better Patal see attachments. This is how it shall work. Thanks
Bookmarks