I am working on a simple macro to search through a large (+20MB) ASCII file and copy the results of the search back to Excel. I have just been using "SendKey" commands to perform the operations I need. The problem I have run into is that my Control-F command to open the search window is no longer being recognized.

I say no longer being reconized becaused I had it working yesterday for a version of the macro with no variables and loops. Today I was going to add those features, but ran into this issue. In troubleshooting, I have been able to pass text and other commands, just not the ^F. Any ideas? A brief excerpt is attached.

Thanks for any guidance you can provide.

Mason

p.s. Everything in the below code I was using to troubleshoot seems to be working with the exception of the ^F lines.

Sub Button1_Click()
' Find MEMBER
AppActivate "Notepad"
SendKeys "{ENTER}", True
SendKeys "^F", True
SendKeys "PIN", True
SendKeys "{ENTER}", True
SendKeys "{TAB}{TAB}{TAB}{TAB}", True
SendKeys "{enter}", True
SendKeys "{HOME}", True
SendKeys "^F", True
End Sub