To change all occurrences of a note (search and replace)
You can change every occurrence of a note to its enharmonic equivalent—changing every G sharp to an A flat, for example. See Search and replace.