The Voice of Business
Microsoft Copilot

Can Copilot write VBA macros in Excel?

Partly. Copilot cannot create or run macros inside your workbook, but it can write the VBA code for you in the chat. You then paste that code into the VBA editor in Excel yourself and run it from there.

More in Microsoft Copilot

All 111 questions