Well, try to find the EXACT palette you want to use in VBA's Palette Viewer (16 colors), and open up APE. Instead of Load Offser, select Load by Searching, and in the bottom half, where you load a palette, enter the reversed values of the colors you found with VBA. (e.g. if VBA says it's color number 531F, enter 1F53 in APE.) Repeat that with at least two other colors you've found, but they have to be directly behind the first one, else APE won't find it. The click the Search button. And, make a backup of your ROM before you do anything, because nif APE found the wrong palette, or something that actually isn't a palette at all, you'd have to take the backup, perform the search again, and use the second result, etc.