Microsoft has warned Windows and Mac users that cyberattackers are remotely exploiting a flaw in Excel to take over computers.