Copilot is not supported in environments that use VBA due to the limitations of the VBA environment itself. Specifically, Copilot requires autosave functionality to operate effectively, which VBA does not support. Therefore, you cannot use Copilot while working directly within a VBA context.
If you want to use Copilot, you would need to work in a different environment, such as a new workbook that does not involve VBA. This limitation can indeed feel counterproductive, especially when considering the efficiency that AI tools like Copilot are designed to provide.
References: