Using AI when working with macros
Warning
The code is processed by an AI service of your choosing. Data leaks or unexpected code modifications may occur. ONLYOFFICE assumes no responsibility for any completions that may contain errors or omissions, as well as for any harassing and inappropriate content. The information contained in the completions is generated by an AI service of the user's choosing and is provided on an "as is" basis without additional filtering from ONLYOFFICE.
AI can be of assistance when working with macros. To access the features:
- Go to the View tab and click the Macros button on the top toolbar. The Macros window will open.
-
Click the AI button in the top left corner of the window:
- Create from description - enter your macros' description, and your AI assistant will generate the corresponding macros.
- Convert from VBA - paste your VBA code in the Convert macros from VBA window, and the corresponding macros will be created.
Please note that if you have not configured your AI assistant yet, you will be prompted to do so. Follow steps 1 and 2 of this guide to configure it.
To learn more about macros, please refer to our API Documentation.