Once you've announced that you're casting a spell, players can't take actions until you've finished doing so. Notably, opponents can't try to remove cards from your graveyard to stop you from collecting evidence.

Artwork
Loading artwork…
Memory Vampire
Ravnica: Clue Edition · #38 · EN
Nonfoil—Foil—
Card rules
Flying
Whenever this creature deals combat damage to a player, any number of target players each mill that many cards. Then you may collect evidence 9. When you do, you may cast target nonland card from defending player's graveyard without paying its mana cost.
4/4
Rare · Illustrated by Mila Pesic
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You don't choose a target nonland card at the time Memory Vampire's last ability triggers. Rather, a second "reflexive" ability triggers when you collect evidence 9 this way. You choose a target for that ability as it goes on the stack. Each player may respond to this triggered ability as normal.
You don't have to choose any target players for Memory Vampire's last ability if you don't want to. In that case, the ability will still resolve and you'll have the opportunity to collect evidence 9.
If you can't exile enough cards to meet or exceed the required mana value, you can't choose to collect evidence at all.